|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.integration.directory.connector.LDAPDirectory
com.atlassian.crowd.integration.directory.connector.SunONE
public class SunONE
Sun ON Directory connector.
Field Summary | |
---|---|
static String |
NAME
The name of the server: Sun ONE Directory Server. |
protected boolean |
pagingResultsControl
This server does not support paging directory results. |
Fields inherited from interface com.atlassian.crowd.integration.directory.RemoteDirectory |
---|
DIRECTORY_TYPE |
Constructor Summary | |
---|---|
SunONE()
|
Method Summary | |
---|---|
RemotePrincipal |
addPrincipal(RemotePrincipal principal)
Adds a principal to the directory store. |
protected String |
buildEntityDN(LdapContext connection,
String objectClass,
String dnAddition,
String nameKey,
String name)
Builds the entity DN for a given object type. |
String |
getDirectoryType()
Returns the DIRECTORY_TYPE name of the implementation. |
protected byte[] |
getPassword(List pubilcCredentials)
|
void |
updatePrincipalCredential(String name,
PasswordCredential credential)
Updates the password credential for a principal. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAME
protected boolean pagingResultsControl
Constructor Detail |
---|
public SunONE()
Method Detail |
---|
protected byte[] getPassword(List pubilcCredentials) throws InvalidCredentialException
InvalidCredentialException
public String getDirectoryType()
RemoteDirectory
DIRECTORY_TYPE
name of the implementation.
public RemotePrincipal addPrincipal(RemotePrincipal principal) throws InvalidPrincipalException, RemoteException, InvalidCredentialException
RemoteDirectory
principal
- The principal to add.
InvalidPrincipalException
- The supplied principal is invalid.
RemoteException
- An unknown remote exception occured.
InvalidCredentialException
- The supplied credential(s) are invalid.public void updatePrincipalCredential(String name, PasswordCredential credential) throws RemoteException, ObjectNotFoundException, InvalidCredentialException
RemoteDirectory
name
- The name of the principal.credential
- The new credential.
RemoteException
- An unknown remote exception occured.
ObjectNotFoundException
- The principal does not exist.
InvalidCredentialException
- The supplied credential is invalid.protected String buildEntityDN(LdapContext connection, String objectClass, String dnAddition, String nameKey, String name) throws NamingException, ObjectNotFoundException
LDAPDirectory
buildEntityDN
in class LDAPDirectory
connection
- LDAP connection.objectClass
- LDAP object type.dnAddition
- Any DN addition that might be necessary to the base DN.nameKey
- Restriction attribute, ie name.name
- Restriction value, ie johndoe.
NamingException
- An LDAP name exception occured.
ObjectNotFoundException
- Entity does not exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |