org.tynamo.security.federatedaccounts.services
Class DefaultHibernateFederatedAccountServiceImpl
java.lang.Object
org.tynamo.security.federatedaccounts.services.DefaultHibernateFederatedAccountServiceImpl
- All Implemented Interfaces:
- FederatedAccountService
public class DefaultHibernateFederatedAccountServiceImpl
- extends Object
- implements FederatedAccountService
|
Method Summary |
protected FederatedAccount |
createLocalAccount(Class<?> entityType,
String realmName,
Object remotePrincipal,
Object remoteAccount)
|
org.apache.shiro.authc.AuthenticationInfo |
federate(String realmName,
Object remotePrincipal,
org.apache.shiro.authc.AuthenticationToken authenticationToken,
Object remoteAccount)
|
protected Map<String,Object> |
getEntityTypesByRealm()
|
protected org.hibernate.Session |
getSession()
|
protected boolean |
updateLocalAccount(FederatedAccount localUser,
String realmName,
Object remotePrincipal,
Object remoteAccount)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultHibernateFederatedAccountServiceImpl
public DefaultHibernateFederatedAccountServiceImpl(org.hibernate.Session session,
Map<String,Object> entityTypesByRealm)
getSession
protected final org.hibernate.Session getSession()
getEntityTypesByRealm
protected final Map<String,Object> getEntityTypesByRealm()
createLocalAccount
protected FederatedAccount createLocalAccount(Class<?> entityType,
String realmName,
Object remotePrincipal,
Object remoteAccount)
updateLocalAccount
protected boolean updateLocalAccount(FederatedAccount localUser,
String realmName,
Object remotePrincipal,
Object remoteAccount)
federate
public org.apache.shiro.authc.AuthenticationInfo federate(String realmName,
Object remotePrincipal,
org.apache.shiro.authc.AuthenticationToken authenticationToken,
Object remoteAccount)
- Specified by:
federate in interface FederatedAccountService
Copyright © 2004-2011. All Rights Reserved.