|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.persistence.impl.CustomerAuthenticationDaoImpl
public class CustomerAuthenticationDaoImpl
Default implementation of Acegi's UserDetailsService, to integrate with
Acegi Security framework for authentication and authorization.
| Constructor Summary | |
|---|---|
CustomerAuthenticationDaoImpl()
|
|
| Method Summary | |
|---|---|
ElasticPath |
getElasticPath()
Get the ElasticPath singleton. |
PersistenceEngine |
getPersistenceEngine()
Returns the persistence engine. |
org.acegisecurity.userdetails.UserDetails |
loadUserByUsername(java.lang.String userName)
Locates the customer based on the given userName of the Customer. |
void |
setElasticPath(ElasticPath elasticpath)
Inject the ElasticPath singleton. |
void |
setPersistenceEngine(PersistenceEngine persistenceEngine)
Sets the persistence engine. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomerAuthenticationDaoImpl()
| Method Detail |
|---|
public ElasticPath getElasticPath()
public PersistenceEngine getPersistenceEngine()
public org.acegisecurity.userdetails.UserDetails loadUserByUsername(java.lang.String userName)
throws org.acegisecurity.userdetails.UsernameNotFoundException,
org.springframework.dao.DataAccessException
Customer.
loadUserByUsername in interface org.acegisecurity.userdetails.UserDetailsServiceuserName - the userName presented to the DaoAuthenticationProvider.
org.acegisecurity.userdetails.UsernameNotFoundException - if the user could not be found or the
user has no GrantedAuthority
org.springframework.dao.DataAccessException - if user could not be found for a
repository-specific reasonpublic void setElasticPath(ElasticPath elasticpath)
elasticpath - the ElasticPath singleton.public void setPersistenceEngine(PersistenceEngine persistenceEngine)
persistenceEngine - the persistence engine to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||