Package com.esri.gpt.framework.security.principal

Examples of com.esri.gpt.framework.security.principal.UserAttributeMap.values()


    // iterate through the attributes of the supplied user profile
    LdapNameMapping  nameMap  = getConfiguration().getUserProperties().getUserProfileMapping();
    UserAttributeMap localMap = user.getProfile();
    ModificationItem modItem;
    for (UserAttribute localAttr: localMap.values()) {
     
      // determine the local and LDAP keys
      String sLocalKey = localAttr.getKey();
      String sLocalValue = localAttr.getValue();
      String sLdapKey = nameMap.findLdapName(localAttr.getKey());
View Full Code Here


   * profile contains all configured attributes, even if they do not exist on
   * the LDAP side.
   */
  boolean bEnsureAllAttributes = true;
  if (bEnsureAllAttributes) {
    for (UserAttribute attr: configured.values()) {
      if (!userProf.containsKey(attr.getKey())) {
        userProf.set(attr.getKey(),"");
      }
    }
  }
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.