Examples of readUserProfile()


Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

      userUpdate.setKey(user.getKey());
      userUpdate.setLocalID(user.getLocalID());
      userUpdate.setDistinguishedName(user.getDistinguishedName());
      userUpdate.setProfile(_activeUserAttributes);
      try {
        idAdapter.readUserProfile(userUpdate);
      } catch (Throwable t) {
        getLogger().log(Level.SEVERE,"Error reading user profile.",t);
      }
    } else {
      _activeUserAttributes = getNewUser().getProfile();
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

    String member = Val.chkStr(request.getParameter("member"));
    String attempt = Val.chkStr(request.getParameter("attempt"));
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    User user = new User();
    user.setDistinguishedName(member);
    idAdapter.readUserProfile(user);
    boolean isSelf = checkSelf(context,member);
    if((isSelf && attempt.equals("2")) || !isSelf){     
      if(parts.length > 0) {
        String groupIdentifier = URLDecoder.decode(parts[5].trim(),"UTF-8");
        boolean checkGroupConfigured = true;
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

  String member = Val.chkStr(request.getParameter("member"));
    String attempt = Val.chkStr(request.getParameter("attempt"));
    IdentityAdapter idAdapter = context.newIdentityAdapter();
    User user = new User();
    user.setDistinguishedName(member);
    idAdapter.readUserProfile(user);
    if(parts.length > 0) {
    String groupIdentifier = URLDecoder.decode(parts[5].trim(),"UTF-8");
    if(!groupIdentifier.endsWith(groupDIT)){
        IdentityConfiguration idConfig = context.getIdentityConfiguration();  
        Roles configuredRoles = idConfig.getConfiguredRoles();    
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

    if(userIdentifier.endsWith(userDIT)){ 
      String attempt = Val.chkStr(request.getParameter("attempt"));
        IdentityAdapter idAdapter = context.newIdentityAdapter();
        User user = new User();
        user.setDistinguishedName(userIdentifier);
        idAdapter.readUserProfile(user);   
        idAdapter.readUserGroups(user);
       
        boolean isSelf = checkSelf(context,userIdentifier);
        if((isSelf && attempt.equals("2")) || !isSelf){
          idAdapter.deleteUser(user);
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

        }
        if (group != null) {
          // read all members of the group
          users = ldapAdapter.readGroupMembers(uDN);
          for (User user : users.values()) {
            ldapAdapter.readUserProfile(user);
            String emailAddress = user.getProfile().getEmailAddress();
            if (emailAddress.length() > 0) {
              emailAddresses.add(emailAddress);
            }
          }
View Full Code Here

Examples of com.esri.gpt.framework.security.identity.IdentityAdapter.readUserProfile()

            }
          }
        } else {
          User user = new User();
          user.setDistinguishedName(uDN);
          ldapAdapter.readUserProfile(user);
          String emailAddress = user.getProfile().getEmailAddress();
          if (emailAddress.length() > 0) {
            emailAddresses.add(emailAddress);
          }
        }
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.