public static String getUserName() {
   String username = "";
   RealmService realmService = DynamicClientRegistrationDataHolder.getInstance().getRealmService();
   if (realmService != null) {
     username = realmService.getBootstrapRealmConfiguration().getAdminUserName();
   }
   return username;
 }
Пример #2
0
 public static RealmConfiguration getBootstrapRealmConfiguration() {
   return realmService.getBootstrapRealmConfiguration();
 }