Example usage for Java org.springframework.security.ldap.authentication.ad ActiveDirectoryLdapAuthenticationProvider fields, constructors, methods, implement or subclass
The text is from its open source code.
Authentication | authenticate(Authentication authentication) |
void | setConvertSubErrorCodesToExceptions(boolean convertSubErrorCodesToExceptions) By default, a failed authentication (LDAP error 49) will result in a BadCredentialsException . |
void | setUseAuthenticationRequestCredentials(boolean useAuthenticationRequestCredentials) Determines whether the supplied password will be used as the credentials in the successful authentication token. |
void | 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 #createSuccessfulAuthentication(org.springframework.security.authentication.UsernamePasswordAuthenticationToken,org.springframework.security.core.userdetails.UserDetails) method. |