Package org.platformlayer.service.openldap.ops.ldap

Examples of org.platformlayer.service.openldap.ops.ldap.OrganizationalUnitLdapEntry


    OrganizationalRoleLdapEntry organizationalRole = buildOrganizationalRole(ldapBase, LdapAttributes.MANAGER_CN,
        "LDAP Administrator", ldapAdminPassword);
    addChild(organizationalRole);

    OrganizationalUnitLdapEntry users = buildOrganizationUnit(ldapBase, LdapAttributes.LDAP_USERS_CONTAINER_OU,
        "Users");
    addChild(users);

    OrganizationalUnitLdapEntry groups = buildOrganizationUnit(ldapBase, LdapAttributes.LDAP_GROUPS_CONTAINER_OU,
        "Groups");
    addChild(groups);
  }
View Full Code Here


    return database;
  }

  private OrganizationalUnitLdapEntry buildOrganizationUnit(LdapDN ldapBase, String ou, String description) {
    OrganizationalUnitLdapEntry entry = OrganizationalUnitLdapEntry.build(ou, ldapBase);
    entry.setDescription(description);
    entry.setOnlyConfigureOnForce(true);

    return entry;
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.service.openldap.ops.ldap.OrganizationalUnitLdapEntry

Copyright © 2018 www.massapicom. 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.