public interface LDAPPropertiesMapper
Modifier and Type | Field and Description |
---|---|
static String |
GROUP_DESCRIPTION_KEY
Attribute key for the LDAP group description attribute.
|
static String |
GROUP_DN_ADDITION
Attribute key for the LDAP group base dn.
|
static String |
GROUP_NAME_KEY
Attribute key for the LDAP group name attribute.
|
static String |
GROUP_OBJECTCLASS_KEY
Attribute key for the LDAP group object class.
|
static String |
GROUP_OBJECTFILTER_KEY
Attribute key for the LDAP group object class.
|
static String |
GROUP_USERNAMES_KEY
Attribute key for the LDAP group membership attribute.
|
static String |
LDAP_BASEDN_KEY
Attribute key for the LDAP base DN.
|
static String |
LDAP_CONNECTION_TIMEOUT
Timeout stored in milliseconds when opening new server connections.
|
static String |
LDAP_EXTERNAL_ID
Attribute key for the unique ID attribute in LDAP.
|
static String |
LDAP_FILTER_EXPIRED_USERS
Key to determine if the expired users should be filtered out.
|
static String |
LDAP_GROUP_EXTERNAL_ID
Attribute key for the unique group ID attribute in LDAP.
|
static String |
LDAP_NESTED_GROUPS_DISABLED
Key to fine whether or not we support nested groups for a given LDAP Directory
|
static String |
LDAP_PAGEDRESULTS_KEY
Attribute key for the LDAP paged results attribute.
|
static String |
LDAP_PAGEDRESULTS_SIZE
Attribute key for the LDAP paged results size attribute.
|
static String |
LDAP_PASSWORD_KEY
Attribute key for the LDAP password.
|
static String |
LDAP_POOL_INITSIZE
Initial size of connection pool, e.g.
|
static String |
LDAP_POOL_MAXSIZE
Maximum size of connection pool.
|
static String |
LDAP_POOL_PREFSIZE
Preferred size of connection pool.
|
static String |
LDAP_POOL_TIMEOUT
Idle time stored in milliseconds for a connection before it is removed from the pool.
|
static String |
LDAP_POOLING_KEY
Attribute key for connection pooling.
|
static String |
LDAP_PROPOGATE_CHANGES
Attribute key for the propagation of changes.
|
static String |
LDAP_READ_TIMEOUT
Timeout stored in milliseconds for search and other read operations.
|
static String |
LDAP_REFERRAL_KEY
Attribute key for the referral option.
|
static String |
LDAP_RELAXED_DN_STANDARDISATION
Key to decide whether we need full DN standardisation or can get away with faster, relaxed standardisation.
|
static String |
LDAP_SEARCH_TIMELIMIT
Time limit on searches stored in milliseconds.
|
static String |
LDAP_SECURE_KEY
Attribute key for the SSL required flag.
|
static String |
LDAP_URL_KEY
Attribute key for the LDAP url.
|
static String |
LDAP_USER_ENCRYPTION_METHOD
LDAP password encrypion algorithm, used for updating a Principal's password with
the correct encryption algorithm
|
static String |
LDAP_USERDN_KEY
Attribute key for the LDAP user DN.
|
static String |
LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE
Key to decide if the user group membership attribute ("memberOf" or equivalent) should be used
to fetch the list of users that are members of a group.
|
static String |
LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE_FOR_GROUP_MEMBERSHIP
Key to decide if the user group membership attribute ("memberOf" or equivalent) should be used
to fetch the list of groups a user belongs to.
|
static String |
LOCAL_GROUPS
Key to determine if using local storage for groups/group memberships.
|
static String |
PRIMARY_GROUP_SUPPORT
Key to determine if primary groups are supported.
|
static String |
ROLE_DESCRIPTION_KEY
Attribute key for the LDAP role description attribute.
|
static String |
ROLE_DN_ADDITION
Attribute key for the LDAP role base dn.
|
static String |
ROLE_NAME_KEY
Attribute key for the LDAP role name attribute.
|
static String |
ROLE_OBJECTCLASS_KEY
Attribute key for the LDAP role object class.
|
static String |
ROLE_OBJECTFILTER_KEY
Attribute key for the LDAP role object class.
|
static String |
ROLE_USERNAMES_KEY
Attribute key for the LDAP role membership attribute.
|
static String |
ROLES_DISABLED
If set, roles are disabled.
|
static String |
USER_DISPLAYNAME_KEY
Attribute key for the LDAP principal displayName (full name) attribute.
|
static String |
USER_DN_ADDITION
Attribute key for the LDAP principal base dn.
|
static String |
USER_EMAIL_KEY
Attribute key for the LDAP principal email attribute.
|
static String |
USER_FIRSTNAME_KEY
Attribute key for the LDAP principal lastname attribute.
|
static String |
USER_GROUP_KEY
Attribute key for the LDAP principal memberships attribute.
|
static String |
USER_LASTNAME_KEY
Attribute key for the LDAP principal firstname attribute.
|
static String |
USER_OBJECTCLASS_KEY
Attribute key for the LDAP principal object class.
|
static String |
USER_OBJECTFILTER_KEY
Attribute key for the LDAP role object class.
|
static String |
USER_PASSWORD_KEY
Attribute key for the LDAP principal password attribute.
|
static String |
USER_USERNAME_KEY
Attribute key for the LDAP principal name attribute.
|
static String |
USER_USERNAME_RDN_KEY
The name to be used when building a DN for the user.
|
static final String LDAP_URL_KEY
static final String LDAP_SECURE_KEY
static final String LDAP_REFERRAL_KEY
static final String LDAP_POOLING_KEY
static final String LDAP_BASEDN_KEY
static final String LDAP_USERDN_KEY
static final String LDAP_PASSWORD_KEY
static final String LDAP_PROPOGATE_CHANGES
static final String GROUP_DN_ADDITION
static final String GROUP_DESCRIPTION_KEY
static final String GROUP_NAME_KEY
static final String GROUP_OBJECTCLASS_KEY
static final String GROUP_OBJECTFILTER_KEY
static final String GROUP_USERNAMES_KEY
USER_GROUP_KEY
.static final String ROLE_DN_ADDITION
static final String ROLE_DESCRIPTION_KEY
static final String ROLE_NAME_KEY
static final String ROLE_OBJECTCLASS_KEY
static final String ROLE_OBJECTFILTER_KEY
static final String ROLE_USERNAMES_KEY
static final String USER_DN_ADDITION
static final String USER_EMAIL_KEY
static final String USER_FIRSTNAME_KEY
static final String USER_GROUP_KEY
GROUP_USERNAMES_KEY
.static final String USER_LASTNAME_KEY
static final String USER_DISPLAYNAME_KEY
static final String USER_OBJECTCLASS_KEY
static final String USER_OBJECTFILTER_KEY
static final String USER_USERNAME_KEY
static final String USER_USERNAME_RDN_KEY
USER_USERNAME_KEY
but for Active Directory it's different. RDN = Relative Distinguished Name, or the part of the DN containing the
username.static final String USER_PASSWORD_KEY
static final String LDAP_PAGEDRESULTS_KEY
static final String LDAP_NESTED_GROUPS_DISABLED
static final String LDAP_FILTER_EXPIRED_USERS
isFilteringExpiredUsers()
,
Constant Field Valuesstatic final String LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE
LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE_FOR_GROUP_MEMBERSHIP
.static final String LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE_FOR_GROUP_MEMBERSHIP
LDAP_USING_USER_MEMBERSHIP_ATTRIBUTE
.static final String LDAP_USER_ENCRYPTION_METHOD
static final String LDAP_PAGEDRESULTS_SIZE
static final String LDAP_RELAXED_DN_STANDARDISATION
static final String ROLES_DISABLED
static final String LOCAL_GROUPS
static final String PRIMARY_GROUP_SUPPORT
static final String LDAP_POOL_INITSIZE
static final String LDAP_POOL_PREFSIZE
static final String LDAP_POOL_MAXSIZE
static final String LDAP_POOL_TIMEOUT
static final String LDAP_SEARCH_TIMELIMIT
static final String LDAP_CONNECTION_TIMEOUT
static final String LDAP_READ_TIMEOUT
Warning: CWD-2494: When read timeout is enabled, operations can fail randomly with "javax.naming.NamingException: LDAP response read timed out..." error message without waiting for the timeout to pass.
static final String LDAP_EXTERNAL_ID
static final String LDAP_GROUP_EXTERNAL_ID
Map<String,Properties> getConfigurationDetails()
String getGroupFilter()
String getConnectionURL()
String getUsername()
String getPassword()
String getGroupNameAttribute()
String getObjectClassAttribute()
@Deprecated String getRoleFilter()
@Deprecated String getRoleNameAttribute()
String getUserFilter()
LDAP_FILTER_EXPIRED_USERS
directory attributeString getUserNameAttribute()
String getUserNameRdnAttribute()
String getUserEmailAttribute()
String getUserGroupMembershipsAttribute()
getGroupMemberAttribute()
String getGroupObjectClass()
String getGroupDescriptionAttribute()
String getGroupMemberAttribute()
getUserGroupMembershipsAttribute()
@Deprecated String getRoleObjectClass()
@Deprecated String getRoleDescriptionAttribute()
@Deprecated String getRoleMemberAttribute()
String getUserObjectClass()
String getUserFirstNameAttribute()
String getUserLastNameAttribute()
String getUserDisplayNameAttribute()
String getUserPasswordAttribute()
String getUserEncryptionMethod()
boolean isPagedResultsControl()
int getPagedResultsSize()
int getSearchTimeLimit()
boolean isNestedGroupsDisabled()
boolean isFilteringExpiredUsers()
If true
, any expired user will be locally removed, as if it had been removed in the remote
directory.
boolean isUsingUserMembershipAttribute()
true
if the user group membership attribute ("memberOf" or equivalent) should be used
to fetch the list of users that are members of a group, or false
if the group member attribute
("member" or equivalent) should be used instead.
Note that this only affects queries that fetch the list of users that are members of a group, but not the
queries to fetch the list of groups of a user.isUsingUserMembershipAttributeForGroupMembership()
,
getUserGroupMembershipsAttribute()
boolean isUsingUserMembershipAttributeForGroupMembership()
true
if the user group membership attribute ("memberOf" or equivalent) should be used
to fetch the list of groups a user belongs to, or false
if the group member attribute
("member" or equivalent) should be used instead.
This option is not available to all directory types.
Note that this only affects queries that fetch the list of groups of a user, but not the queries to fetch the
list of users that are members of a group.isUsingUserMembershipAttribute()
,
getUserGroupMembershipsAttribute()
boolean isReferral()
boolean isRelaxedDnStandardisation()
false
); or if we can use a more
efficient but relaxed form of standardisation (value = true
).
See DNStandardiser
for more information.false
if proper standardisation is required.boolean isRolesDisabled()
boolean isLocalUserStatusEnabled()
true
if user status are updated independently in the Crowd cache and the remote directory.
Otherwise, user status is synchronised between the cache and the remote directory.true
if user status in the cache is updated independently of the remote directory.boolean isLocalGroupsEnabled()
true
if groups and group memberships are to be mutated only
(created, updated, deleted) in local storage, otherwise the mutations will be
propagated to the underlying LDAP implementation (full read-write LDAP groups).true
if using local storage for groups and membershipsboolean isPrimaryGroupSupported()
true
if the support for primary groups is enabled for this directory.int getCacheSynchroniseInterval()
List<LdapTypeConfig> getLdapTypeConfigurations()
String getExternalIdAttribute()
String getGroupExternalIdAttribute()
LdapSecureMode getSecureMode()
Copyright © 2019 Atlassian. All rights reserved.