195196197198199200201202203204205
checkSupportsUserManagement(realmName); try { Realm realm = getRealm(realmName); realm.updateUser(existingUser, newUser, password.toCharArray(), groupList); realm.persist(); } catch (Exception e) { throw new RuntimeException(e); } }
207208209210211212213214215216217
checkSupportsUserManagement(realmName); try { Realm realm = getRealm(realmName); realm.removeUser(user); realm.persist(); } catch (Exception e) { throw new RuntimeException(e); } }
249250251252253254255256257258259
try { final Realm realm = getRealm(realmName); realm.addUser(user, password.toCharArray(), groupList); realm.persist(); } catch( final Exception e ) { throw new RuntimeException(e); }
270271272273274275276277278279280
try { final Realm realm = getRealm(realmName); realm.updateUser(existingUser, newUser, password.toCharArray(), groupList); realm.persist(); } catch( final Exception e ) { throw new RuntimeException(e); }
286287288289290291292293294295296
try { final Realm realm = getRealm(realmName); realm.removeUser(user); realm.persist(); } catch( final Exception e ) { throw new RuntimeException(e); }