com.rapidtransform.core.service.impl
Class SecurityServiceAcegi
java.lang.Object
com.rapidtransform.core.service.impl.ServiceImpl
com.rapidtransform.core.service.impl.SecurityServiceAcegi
- All Implemented Interfaces:
- SecurityService, Service
public class SecurityServiceAcegi
- extends ServiceImpl
- implements SecurityService
Implementation of the SecurityService interface that is specific to the Acegi Security
framework for Spring.
- Author:
- S. Werner
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityServiceAcegi
public SecurityServiceAcegi()
setUserDao
public void setUserDao(UserDAO userDao)
setPasswordEncoder
public void setPasswordEncoder(org.acegisecurity.providers.encoding.PasswordEncoder passwordEncoder)
encodePassword
public java.lang.String encodePassword(java.lang.String password)
- Description copied from interface:
SecurityService
- Encodes the given password using a Security Provider specific hash function.
- Specified by:
encodePassword
in interface SecurityService
- Returns:
getAuthenticatedUser
public User getAuthenticatedUser()
- Description copied from interface:
SecurityService
- Returns the user that is currently logged in.
- Specified by:
getAuthenticatedUser
in interface SecurityService
- Returns: