public class ActiveDirectoryAuthenticationProvider extends AbstractActiveDirectoryAuthenticationProvider
AuthenticationProvider with Active Directory, plus UserDetailsServiceAbstractActiveDirectoryAuthenticationProvider.NoAuthentication| Constructor and Description |
|---|
ActiveDirectoryAuthenticationProvider() |
ActiveDirectoryAuthenticationProvider(ActiveDirectorySecurityRealm realm) |
| Modifier and Type | Method and Description |
|---|---|
GroupDetails |
loadGroupByGroupname(String groupname) |
protected UserDetails |
retrieveUser(String username,
UsernamePasswordAuthenticationToken authentication)
Authenticates the user (if
authentication!=null), or retrieve the user name information (otherwise.) |
additionalAuthenticationChecks, loadUserByUsernamepublic ActiveDirectoryAuthenticationProvider()
throws IOException
IOExceptionpublic ActiveDirectoryAuthenticationProvider(ActiveDirectorySecurityRealm realm) throws DataAccessException
DataAccessExceptionprotected UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication) throws AuthenticationException
AbstractActiveDirectoryAuthenticationProviderauthentication!=null), or retrieve the user name information (otherwise.)retrieveUser in class AbstractActiveDirectoryAuthenticationProviderAuthenticationExceptionpublic GroupDetails loadGroupByGroupname(String groupname)
Copyright © 2016–2021. All rights reserved.