public class ActiveDirectoryAuthenticationProvider extends AbstractActiveDirectoryAuthenticationProvider
AuthenticationProvider with Active Directory, plus UserDetailsServiceSHOW_USER_NOT_FOUND_EXCEPTION| Constructor and Description |
|---|
ActiveDirectoryAuthenticationProvider() |
ActiveDirectoryAuthenticationProvider(ActiveDirectorySecurityRealm realm) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canRetrieveUserByName(ActiveDirectoryDomain domain)
Returns true if we can retrieve user just from the name without supplying any credential.
|
hudson.security.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, loadUserByUsernameafterPropertiesSet, authenticate, createSuccessAuthentication, doAfterPropertiesSet, getPostAuthenticationChecks, getPreAuthenticationChecks, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supportspublic ActiveDirectoryAuthenticationProvider()
throws IOException
IOExceptionpublic ActiveDirectoryAuthenticationProvider(ActiveDirectorySecurityRealm realm) throws IOException
IOExceptionprotected 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.AuthenticationExceptionprotected boolean canRetrieveUserByName(ActiveDirectoryDomain domain)
AbstractActiveDirectoryAuthenticationProvidercanRetrieveUserByName in class AbstractActiveDirectoryAuthenticationProviderpublic hudson.security.GroupDetails loadGroupByGroupname(String groupname)
Copyright © 2016–2017. All rights reserved.