| Package | Description |
|---|---|
| org.springframework.security.config.annotation.authentication.configurers.ldap | |
| org.springframework.security.ldap.authentication |
The LDAP authentication provider package.
|
| org.springframework.security.ldap.userdetails |
LDAP-focused
UserDetails implementations which map from a ubset of the data
contained in some of the standard LDAP types (such as InetOrgPerson). |
| Modifier and Type | Method and Description |
|---|---|
LdapAuthenticationProviderConfigurer<B> |
LdapAuthenticationProviderConfigurer.userDetailsContextMapper(UserDetailsContextMapper userDetailsContextMapper)
Allows explicit customization of the loaded user object by specifying a
UserDetailsContextMapper bean which will be called with the context
information from the user's directory entry.
|
| Modifier and Type | Field and Description |
|---|---|
protected UserDetailsContextMapper |
AbstractLdapAuthenticationProvider.userDetailsContextMapper |
| Modifier and Type | Method and Description |
|---|---|
protected UserDetailsContextMapper |
AbstractLdapAuthenticationProvider.getUserDetailsContextMapper()
Provides access to the injected
UserDetailsContextMapper strategy for use by subclasses. |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractLdapAuthenticationProvider.setUserDetailsContextMapper(UserDetailsContextMapper userDetailsContextMapper)
Allows a custom strategy to be used for creating the UserDetails which will be stored as the principal
in the Authentication returned by the
AbstractLdapAuthenticationProvider.createSuccessfulAuthentication(org.springframework.security.authentication.UsernamePasswordAuthenticationToken, org.springframework.security.core.userdetails.UserDetails) method. |
| Modifier and Type | Class and Description |
|---|---|
class |
InetOrgPersonContextMapper |
class |
LdapUserDetailsMapper
The context mapper used by the LDAP authentication provider to create an LDAP user object.
|
class |
PersonContextMapper |
| Modifier and Type | Method and Description |
|---|---|
void |
LdapUserDetailsService.setUserDetailsMapper(UserDetailsContextMapper userDetailsMapper) |
void |
LdapUserDetailsManager.setUserDetailsMapper(UserDetailsContextMapper userDetailsMapper) |
Copyright © 2016. All rights reserved.