Examples of LdapGroupProperties


Examples of com.esri.gpt.framework.security.identity.ldap.LdapGroupProperties

    ldapConfig.getUserProperties().getUserProfileMapping().configureFromUserAttributes(uaMap);

    // group properties
    Node ndGroup = (Node) xpath.evaluate("groups", ndLdap, XPathConstants.NODE);
    if (ndGroup != null) {
      LdapGroupProperties props = ldapConfig.getGroupProperties();
      props.setGroupDisplayNameAttribute(xpath.evaluate(
          "@displayNameAttribute", ndGroup));
      props.setGroupDynamicMemberAttribute(xpath.evaluate(
          "@dynamicMemberOfGroupsAttribute", ndGroup));
      props.setGroupDynamicMembersAttribute(xpath.evaluate(
          "@dynamicMembersAttribute", ndGroup));
      props.setGroupMemberAttribute(xpath.evaluate("@memberAttribute", ndGroup));
      props.setGroupMemberSearchPattern(xpath.evaluate("@memberSearchPattern",
          ndGroup));
      props.setGroupNameSearchPattern(xpath.evaluate("@nameSearchPattern",
          ndGroup));
      props.setGroupSearchDIT(xpath.evaluate("@searchDIT", ndGroup));
    }

    // metadata management groups
    NodeList nlMmg = (NodeList) xpath.evaluate("groups/metadataManagementGroup",ndLdap,XPathConstants.NODESET);
    for (int i = 0; i < nlMmg.getLength(); i++) {
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.