public abstract class AbstractActiveDirectoryAuthenticationProvider extends Object implements UserDetailsService, GroupDetailsService
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractActiveDirectoryAuthenticationProvider.NoAuthentication |
| Constructor and Description |
|---|
AbstractActiveDirectoryAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
additionalAuthenticationChecks(UserDetails userDetails,
UsernamePasswordAuthenticationToken authentication) |
UserDetails |
loadUserByUsername(String username) |
protected abstract UserDetails |
retrieveUser(String username,
UsernamePasswordAuthenticationToken authentication)
Authenticates the user (if {@code authentication!
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadGroupByGroupnamepublic AbstractActiveDirectoryAuthenticationProvider()
protected abstract UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication) throws AuthenticationException
authentication!=null), or retrieve the user name information (otherwise.)AuthenticationExceptionpublic UserDetails loadUserByUsername(String username) throws UsernameNotFoundException, DataAccessException
loadUserByUsername in interface UserDetailsServiceUsernameNotFoundExceptionDataAccessExceptionprotected void additionalAuthenticationChecks(UserDetails userDetails, UsernamePasswordAuthenticationToken authentication) throws AuthenticationException
AuthenticationExceptionCopyright © 2016–2020. All rights reserved.