hudson.plugins.active_directory
Class ActiveDirectoryAuthenticationProvider

java.lang.Object
  extended by org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
      extended by hudson.plugins.active_directory.ActiveDirectoryAuthenticationProvider
All Implemented Interfaces:
org.acegisecurity.providers.AuthenticationProvider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware

public class ActiveDirectoryAuthenticationProvider
extends org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider

Author:
Kohsuke Kawaguchi

Field Summary
 
Fields inherited from class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
hideUserNotFoundExceptions, messages
 
Constructor Summary
ActiveDirectoryAuthenticationProvider()
           
 
Method Summary
protected  void additionalAuthenticationChecks(org.acegisecurity.userdetails.UserDetails userDetails, org.acegisecurity.providers.UsernamePasswordAuthenticationToken authentication)
           
protected  org.acegisecurity.userdetails.UserDetails retrieveUser(java.lang.String username, org.acegisecurity.providers.UsernamePasswordAuthenticationToken authentication)
           
 
Methods inherited from class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
afterPropertiesSet, authenticate, createSuccessAuthentication, doAfterPropertiesSet, getUserCache, isForcePrincipalAsString, isHideUserNotFoundExceptions, setForcePrincipalAsString, setHideUserNotFoundExceptions, setMessageSource, setUserCache, supports
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveDirectoryAuthenticationProvider

public ActiveDirectoryAuthenticationProvider()
Method Detail

additionalAuthenticationChecks

protected void additionalAuthenticationChecks(org.acegisecurity.userdetails.UserDetails userDetails,
                                              org.acegisecurity.providers.UsernamePasswordAuthenticationToken authentication)
                                       throws org.acegisecurity.AuthenticationException
Specified by:
additionalAuthenticationChecks in class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
Throws:
org.acegisecurity.AuthenticationException

retrieveUser

protected org.acegisecurity.userdetails.UserDetails retrieveUser(java.lang.String username,
                                                                 org.acegisecurity.providers.UsernamePasswordAuthenticationToken authentication)
                                                          throws org.acegisecurity.AuthenticationException
Specified by:
retrieveUser in class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
Throws:
org.acegisecurity.AuthenticationException


Copyright © 2008. All Rights Reserved.