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

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


    organization.setTop(true);
    addChild(organization);

    String ldapAdminPassword = LdapPasswords.getLdapPasswordEncoded(ldapDomain.adminPassword.plaintext());

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

    OrganizationalUnitLdapEntry users = buildOrganizationUnit(ldapBase, LdapAttributes.LDAP_USERS_CONTAINER_OU,
        "Users");
View Full Code Here


    return entry;
  }

  private OrganizationalRoleLdapEntry buildOrganizationalRole(LdapDN ldapBase, String cn, String description,
      String userPassword) {
    OrganizationalRoleLdapEntry entry = OrganizationalRoleLdapEntry.build(cn, ldapBase);
    entry.setDescription(description);
    entry.setUserPasssword(userPassword);
    entry.setOnlyConfigureOnForce(true);

    return entry;
  }
View Full Code Here

TOP

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

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.