com.atlassian.crowd.directory.ldap.mapper.entity
Class ActiveDirectoryUserAttributesMapper

java.lang.Object
  extended by com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper
      extended by com.atlassian.crowd.directory.ldap.mapper.entity.ActiveDirectoryUserAttributesMapper

public class ActiveDirectoryUserAttributesMapper
extends LDAPUserAttributesMapper

Specialised LDAPUserAttributesMapper for Active Directory. It maps the user enabled/disabled flag to Crowd's active/inactive user. If the userAccountControl attribute is missing, the user is assumed to be active.

Since:
v2.7

Field Summary
 
Fields inherited from class com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper
directoryId, ldapPropertiesMapper, logger
 
Constructor Summary
ActiveDirectoryUserAttributesMapper(long directoryId, LDAPPropertiesMapper ldapPropertiesMapper)
           
 
Method Summary
protected  boolean getUserActiveFromAttribute(Attributes directoryAttributes)
           
 
Methods inherited from class com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper
getExternalIdFromAttribute, getRequiredLdapAttributes, getUserDisplayNameFromAttribute, getUserEmailFromAttribute, getUserFirstNameFromAttribute, getUserLastNameFromAttribute, getUsernameFromAttributes, mapAttributesFromUser, mapUserFromAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveDirectoryUserAttributesMapper

public ActiveDirectoryUserAttributesMapper(long directoryId,
                                           LDAPPropertiesMapper ldapPropertiesMapper)
Method Detail

getUserActiveFromAttribute

protected boolean getUserActiveFromAttribute(Attributes directoryAttributes)
Overrides:
getUserActiveFromAttribute in class LDAPUserAttributesMapper


Copyright © 2013 Atlassian. All Rights Reserved.