net.sourceforge.heracles.acegi
Class HeraclesAuthenticationProvider
java.lang.Object
org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
net.sourceforge.heracles.acegi.HeraclesAuthenticationProvider
- All Implemented Interfaces:
- org.acegisecurity.providers.AuthenticationProvider, org.springframework.beans.factory.InitializingBean, org.springframework.context.MessageSourceAware
public class HeraclesAuthenticationProvider
- extends org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
Title: HeraclesAuthenticationProvider.java
Description: This Class represents an AuthenticationProvider of ACEGI from Heracles
Java Version: JDK 1.5
- Author:
- Philipp Gantert
version 1.0
Field Summary |
private org.apache.log4j.Logger |
logger
|
Fields inherited from class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider |
hideUserNotFoundExceptions, messages |
Method Summary |
protected void |
additionalAuthenticationChecks(org.acegisecurity.userdetails.UserDetails userDetails,
org.acegisecurity.providers.UsernamePasswordAuthenticationToken userNamePasswdAuthToken)
There is nothing to do. |
org.acegisecurity.userdetails.UserDetails |
retrieveUser(java.lang.String userName,
org.acegisecurity.providers.UsernamePasswordAuthenticationToken userNamePasswdAuthToken)
|
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 |
logger
private org.apache.log4j.Logger logger
HeraclesAuthenticationProvider
public HeraclesAuthenticationProvider()
additionalAuthenticationChecks
protected void additionalAuthenticationChecks(org.acegisecurity.userdetails.UserDetails userDetails,
org.acegisecurity.providers.UsernamePasswordAuthenticationToken userNamePasswdAuthToken)
throws org.acegisecurity.AuthenticationException
- There is nothing to do. The checks will be done by heracles.
- Specified by:
additionalAuthenticationChecks
in class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
- Parameters:
userDetails
- userNamePasswdAuthToken
-
- Throws:
org.acegisecurity.AuthenticationException
retrieveUser
public org.acegisecurity.userdetails.UserDetails retrieveUser(java.lang.String userName,
org.acegisecurity.providers.UsernamePasswordAuthenticationToken userNamePasswdAuthToken)
throws org.acegisecurity.AuthenticationException
- Specified by:
retrieveUser
in class org.acegisecurity.providers.dao.AbstractUserDetailsAuthenticationProvider
- Parameters:
userName
- username with domain informationuserNamePasswdAuthToken
- includes the password
- Returns:
UserDetails
- Throws:
org.acegisecurity.AuthenticationException
Copyright © 2007 null. All Rights Reserved.