public class ActiveDirectoryAuthenticationProvider extends AbstractActiveDirectoryAuthenticationProvider
AuthenticationProvider with Active Directory, plus UserDetailsServiceSHOW_USER_NOT_FOUND_EXCEPTION| Constructor and Description |
|---|
ActiveDirectoryAuthenticationProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canRetrieveUserByName()
Returns true if we can retrieve user just from the name without supplying any credential.
|
hudson.security.GroupDetails |
loadGroupByGroupname(String groupname) |
protected org.springframework.security.core.userdetails.UserDetails |
retrieveUser(String username,
org.springframework.security.authentication.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, setAuthoritiesMapper, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setPostAuthenticationChecks, setPreAuthenticationChecks, setUserCache, supportspublic ActiveDirectoryAuthenticationProvider()
protected org.springframework.security.core.userdetails.UserDetails retrieveUser(String username, org.springframework.security.authentication.UsernamePasswordAuthenticationToken authentication) throws org.springframework.security.core.AuthenticationException
AbstractActiveDirectoryAuthenticationProviderauthentication!=null), or retrieve the user name information (otherwise.)retrieveUser in class AbstractActiveDirectoryAuthenticationProviderorg.springframework.security.core.AuthenticationExceptionprotected boolean canRetrieveUserByName()
AbstractActiveDirectoryAuthenticationProvidercanRetrieveUserByName in class AbstractActiveDirectoryAuthenticationProviderpublic hudson.security.GroupDetails loadGroupByGroupname(String groupname)
Copyright © 2004-2014 Hudson. All Rights Reserved.