com.atlassian.crowd.integration.directory.connector
Class OpenLDAP
java.lang.Object
com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
com.atlassian.crowd.integration.directory.connector.OpenLDAP
- All Implemented Interfaces:
- RemoteDirectory
- Direct Known Subclasses:
- GenericLDAP
public class OpenLDAP
- extends SpringLDAPConnector
Field Summary |
static String |
NAME
The name of the server: Sun ONE Directory Server. |
Methods inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector |
addContainerObject, addGroup, addPrincipalGeneric, addPrincipalToGroup, addPrincipalToRole, addRole, authenticate, buildDN, findGroupByName, findGroupMemberships, findPrincipalByName, findRoleByName, findRoleMemberships, getAttributes, getGroupDN, getID, getLdapPropertiesMapper, getPrincipalDN, getRoleDN, isGroupMember, isMemeber, isRoleMember, removeGroup, removePrincipal, removePrincipalFromGroup, removePrincipalFromRole, removeRole, searchGroups, searchPrincipals, searchRoles, setAttributes, setID, setLdapPropertiesMapper, testConnection, updateGroup, updatePrincipal, updatePrincipalCredential, updateRole |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- The name of the server: Sun ONE Directory Server.
- See Also:
- Constant Field Values
OpenLDAP
public OpenLDAP()
getDirectoryType
public String getDirectoryType()
- Description copied from interface:
RemoteDirectory
- Returns the
DIRECTORY_TYPE
name of the implementation.
- Specified by:
getDirectoryType
in interface RemoteDirectory
- Overrides:
getDirectoryType
in class SpringLDAPConnector
- Returns:
- The name of the implementation.
getPassword
protected byte[] getPassword(List pubilcCredentials)
throws InvalidCredentialException
- Converts password into a format the directory server password format.
- Parameters:
pubilcCredentials
- Credentials to convert.
- Returns:
- The directory server password format.
- Throws:
InvalidCredentialException
- Unable to process the credentials.
addPrincipal
public RemotePrincipal addPrincipal(RemotePrincipal principal)
throws InvalidPrincipalException,
RemoteException,
InvalidCredentialException
- Description copied from interface:
RemoteDirectory
- Adds a principal to the directory store.
- Parameters:
principal
- The principal to add.
- Returns:
- The principal with any updated attributes.
- Throws:
InvalidPrincipalException
- The supplied principal is invalid.
RemoteException
- An unknown remote exception occured.
InvalidCredentialException
- The supplied credential(s) are invalid.
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.