Class ActiveDirectoryUserAttributesMapper
java.lang.Object
com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper
com.atlassian.crowd.directory.ldap.mapper.entity.ActiveDirectoryUserAttributesMapper
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
ConstructorsConstructorDescriptionActiveDirectoryUserAttributesMapper(long directoryId, LDAPPropertiesMapper ldapPropertiesMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleangetUserActiveFromAttribute(Attributes directoryAttributes) Methods inherited from class com.atlassian.crowd.directory.ldap.mapper.entity.LDAPUserAttributesMapper
getExternalIdFromAttribute, getUserDisplayNameFromAttribute, getUserEmailFromAttribute, getUserFirstNameFromAttribute, getUserLastNameFromAttribute, getUsernameFromAttributes, mapAttributesFromUser, mapUserFromAttributes
-
Constructor Details
-
ActiveDirectoryUserAttributesMapper
public ActiveDirectoryUserAttributesMapper(long directoryId, LDAPPropertiesMapper ldapPropertiesMapper)
-
-
Method Details
-
getUserActiveFromAttribute
- Overrides:
getUserActiveFromAttributein classLDAPUserAttributesMapper
-
getRequiredLdapAttributes
- Overrides:
getRequiredLdapAttributesin classLDAPUserAttributesMapper
-