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
ConstructorDescriptionActiveDirectoryUserAttributesMapper
(long directoryId, LDAPPropertiesMapper ldapPropertiesMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
getUserActiveFromAttribute
(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:
getUserActiveFromAttribute
in classLDAPUserAttributesMapper
-
getRequiredLdapAttributes
- Overrides:
getRequiredLdapAttributes
in classLDAPUserAttributesMapper
-