Examples of removeUser()


Examples of com.saasovation.identityaccess.domain.model.identity.Group.removeUser()

        User user =
                this.existingUser(
                        aCommand.getTenantId(),
                        aCommand.getUsername());

        group.removeUser(user);
    }

    @Transactional(readOnly=true)
    public Tenant tenant(String aTenantId) {
        Tenant tenant =
View Full Code Here

Examples of com.sun.appserv.management.config.AuthRealmConfig.removeUser()

            List obj = (List) handlerCtx.getInputValue("selectedRows");
            List<Map> selectedRows = (List) obj;
           
            for(Map oneRow : selectedRows){
                String user = (String)oneRow.get("users");
                aRealm.removeUser(user);
            }
        }catch(Exception ex){
            GuiUtil.handleException(handlerCtx, ex);
        }
    }
View Full Code Here

Examples of com.sun.enterprise.security.auth.realm.Realm.removeUser()

        checkSupportsUserManagement(realmName);
       
        try
        {
            final Realm realm = getRealm(realmName);
            realm.removeUser(user);
            realm.persist();
        }
        catch( final Exception e )
        {
            throw new RuntimeException(e);
View Full Code Here

Examples of com.sun.enterprise.security.auth.realm.file.FileRealm.removeUser()

        }
           
        FileRealm realm = getRealmKeyFile();
        try
        {
            realm.removeUser(userName);
            saveInstanceRealmKeyFile(realm);
        }
        catch(NoSuchUserException nse)
        {
            //String msg =  localStrings.getString( "admin.server.core.mbean.config.no_such_user", mInstanceName, userName);
View Full Code Here

Examples of com.sun.enterprise.security.auth.realm.file.FileRealm.removeUser()

        throws MBeanConfigException
    {
        final FileRealm realm = getRealmKeyFile();
        try
        {
            realm.removeUser(userName);
            saveInstanceRealmKeyFile(realm);
        }
        catch(NoSuchUserException nse)
        {
            throw new MBeanConfigException(nse.getMessage());
View Full Code Here

Examples of com.sun.enterprise.security.auth.realm.file.FileRealm.removeUser()

    public void removeUser(String userName) throws MBeanConfigException
    {
        FileRealm realm = getInstanceRealmKeyFile();
        try
        {
            realm.removeUser(userName);
            saveInstanceRealmKeyFile(realm);
        }
        catch(NoSuchUserException nse)
        {
            //String msg =  localStrings.getString( "admin.server.core.mbean.config.no_such_user", mInstanceName, userName);
View Full Code Here

Examples of com.vmware.vim25.mo.HostLocalAccountManager.removeUser()

      System.out.println("Principal: " + usrs[i].getPrincipal());
    }
   
    //delete the new user and group
    //Note: you have to delete the user before delete the group
    hlam.removeUser("vimaster");
    hlam.removeGroup("masters");
   
    si.getServerConnection().logout();
  }
}
View Full Code Here

Examples of de.fu_berlin.inf.dpp.project.ISarosSession.removeUser()

            } else {
                // Client
                Utils.runSafeSWTSync(log, new Runnable() {
                    public void run() {
                        // FIXME see above...
                        sarosSession.removeUser(user);
                    }
                });
            }
        }
    }
View Full Code Here

Examples of es.ipsa.atril.sec.admin.AuthorizationAdminManager.removeUser()

    throws DmsException, ElementNotFoundException, ClassNotFoundException,
         InstantiationException, IllegalAccessException, ClassCastException,
         IllegalStateException, NullPointerException,SecurityException {
    if (getNickName().equals("admin")) throw new SecurityException("Cannot delete admin user");
    AuthorizationAdminManager oAam = oSes.getAuthorizationAdminManager();
    oAam.removeUser(getAdministeredUser());
    BaseModelObject.delete(oSes, id());
    clear();
  }
   
  @Override
View Full Code Here

Examples of ma.glasnost.orika.test.community.issue21.UserGroupDto.removeUser()

    assertTrue(group.getUsers().contains(user1));

    UserDto userDto1 = mapperFacade.map(user1, UserDto.class);

    UserGroupDto groupDto = mapperFacade.map(group, UserGroupDto.class);
    groupDto.removeUser(userDto1);

    mapperFacade.map(groupDto, group,
        TypeFactory.valueOf(UserGroupDto.class),
        TypeFactory.valueOf(UserGroup.class));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.