Examples of RoleMap


Examples of com.esri.gpt.framework.jsf.RoleMap

  User tmpUser = new User();
  tmpUser.setDistinguishedName("*");
  getRequestContext().newIdentityAdapter().readUserGroups(tmpUser);
  allGroups = tmpUser.getGroups();

  isGptAdministrator = new RoleMap(getRequestContext().getUser()).get("gptAdministrator");
 
  try {

    // establish the connection
    ManagedConnection mc = returnConnection();
View Full Code Here

Examples of com.stimulus.archiva.domain.Identity.RoleMap

      clearAllRoleMaps();
     
      int c = 1;
      boolean load = false;
      do {
        RoleMap rm = new ADRoleMap();
        load = rm.loadSettings(null,prop,"."+c++);
        if (load) addRoleMap(rm);
      } while (load);

        return true;
    }
View Full Code Here

Examples of com.sun.enterprise.tools.common.dd.connector.RoleMap

            }
            catch (Throwable t) {
                t.printStackTrace();
            }
        }
        rm = new RoleMap();
        int unameVal = 100;
        for (int i = 0; i < rowCount; i++) {
            MapElement me = new MapElement();
            me.setBackendPrincipal(true);
            me.setAttributeValue(MapElement.BACKEND_PRINCIPAL, 0, "user-name", ""+i); //NOI18N
View Full Code Here

Examples of org.jamwiki.model.RoleMap

  public List<RoleMap> getRoleMapGroups() throws DataAccessException {
    LinkedHashMap<Long, RoleMap> roleMaps = new LinkedHashMap<Long, RoleMap>();
    QueryResultIterable<GroupAuthorityEntity> list = GroupAuthorityService.getAll();
    for (GroupAuthorityEntity groupAuthorityEntity : list) {
      Long groupId = groupAuthorityEntity.getGroupId();
      RoleMap roleMap = new RoleMap();
      if (roleMaps.containsKey(groupId)) {
        roleMap = roleMaps.get(groupId);
      } else {
        roleMap.setGroupId(groupId);
        roleMap.setGroupName(groupAuthorityEntity.getGroupName());
      }
      roleMap.addRole(groupAuthorityEntity.getAuthority());
      roleMaps.put(groupId, roleMap);

    }
    return new ArrayList<RoleMap>(roleMaps.values());
  }
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.