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 org.acegisecurity.userdetails.UserDetails |
retrieveUser(String username,
org.acegisecurity.providers.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 org.springframework.dao.DataAccessException
org.springframework.dao.DataAccessExceptionprotected org.acegisecurity.userdetails.UserDetails retrieveUser(String username, org.acegisecurity.providers.UsernamePasswordAuthenticationToken authentication) throws org.acegisecurity.AuthenticationException
AbstractActiveDirectoryAuthenticationProviderauthentication!=null), or retrieve the user name information (otherwise.)retrieveUser in class AbstractActiveDirectoryAuthenticationProviderorg.acegisecurity.AuthenticationExceptionpublic GroupDetails loadGroupByGroupname(String groupname)
Copyright © 2016–2020. All rights reserved.