|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.crowd.integration.directory.connector.SpringLDAPConnector
com.atlassian.crowd.integration.directory.connector.MicrosoftActiveDirectory
public class MicrosoftActiveDirectory
Microsoft Active Directory connector.
| Field Summary | |
|---|---|
static String |
NAME
The name of the server: Microsoft Active Directory. |
| Fields inherited from class com.atlassian.crowd.integration.directory.connector.SpringLDAPConnector |
|---|
attributes, DEFAULT_PAGE_SIZE, ldapPropertiesMapper, ldapTemplate, PRINCIPAL_NO_VALID_PASSWORD |
| Fields inherited from interface com.atlassian.crowd.integration.directory.RemoteDirectory |
|---|
DIRECTORY_TYPE |
| Constructor Summary | |
|---|---|
MicrosoftActiveDirectory()
|
|
| Method Summary | |
|---|---|
RemotePrincipal |
addPrincipal(RemotePrincipal principal)
Adds a principal to the directory store. |
String |
getDirectoryType()
Returns the DIRECTORY_TYPE name of the implementation. |
protected byte[] |
getPassword(List pubilcCredentials)
|
RemoteGroup |
updateGroup(RemoteGroup group)
Updates the group by the name attribute. |
void |
updatePrincipalCredential(String name,
PasswordCredential credential)
Updates the password credential for a principal. |
RemoteRole |
updateRole(RemoteRole role)
Updates the role by the name attribute. |
| 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, updatePrincipal |
| 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
| Constructor Detail |
|---|
public MicrosoftActiveDirectory()
| Method Detail |
|---|
protected byte[] getPassword(List pubilcCredentials)
throws InvalidCredentialException
InvalidCredentialExceptionpublic String getDirectoryType()
RemoteDirectoryDIRECTORY_TYPE name of the implementation.
getDirectoryType in interface RemoteDirectorygetDirectoryType in class SpringLDAPConnector
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
updatePrincipalCredential in interface RemoteDirectoryupdatePrincipalCredential in class SpringLDAPConnectorname - 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.
public RemoteGroup updateGroup(RemoteGroup group)
throws RemoteException,
ObjectNotFoundException
RemoteDirectoryname attribute.
updateGroup in interface RemoteDirectoryupdateGroup in class SpringLDAPConnectorgroup - The group to update.
RemoteException - An unknown remote exception occured.
ObjectNotFoundException - the group does not exist.
public RemoteRole updateRole(RemoteRole role)
throws RemoteException,
ObjectNotFoundException
RemoteDirectoryname attribute.
updateRole in interface RemoteDirectoryupdateRole in class SpringLDAPConnectorrole - The role to update.
RemoteException - An unknown remote exception occured.
ObjectNotFoundException - The role does not exist.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||