-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Directory - LDAP
-
None
Currently the updatePrincipal method for the SpringLDAPConnector is not implemented:
/**
* This method is currently not supported by the Crowd LDAP connectors.
*
* @see com.atlassian.crowd.integration.directory.RemoteDirectory#updatePrincipal(com.atlassian.crowd.integration.model.RemotePrincipal)
* @param principal The principal to update.
* @return The populated principal.
* @throws RemoteException An unknown remote exception occured.
* @throws ObjectNotFoundException The role does not exist.
*/
public RemotePrincipal updatePrincipal(RemotePrincipal principal) throws RemoteException, ObjectNotFoundException
{
return findPrincipalByName(principal.getName());
}
This method needs to be improved to support modifying the known attribute types of the inetOrgPerson object that match the RemotePrincipal attributes.
The addPrincipal method will also need to be modified to support setting these attributes.