Java org.springframework.security.ldap.authentication.ad ActiveDirectoryLdapAuthenticationProvider fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.security.ldap.authentication.ad ActiveDirectoryLdapAuthenticationProvider fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.security.ldap.authentication.ad ActiveDirectoryLdapAuthenticationProvider.

The text is from its open source code.

Constructor

Method

Authenticationauthenticate(Authentication authentication)
voidsetConvertSubErrorCodesToExceptions(boolean convertSubErrorCodesToExceptions)
By default, a failed authentication (LDAP error 49) will result in a BadCredentialsException .
voidsetUseAuthenticationRequestCredentials(boolean useAuthenticationRequestCredentials)
Determines whether the supplied password will be used as the credentials in the successful authentication token.
voidsetUserDetailsContextMapper(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.