org.jboss.portal.identity.sso.josso
Class JOSSOIdentityStore
java.lang.Object
org.jboss.portal.identity.sso.josso.JOSSOIdentityStore
- All Implemented Interfaces:
- org.josso.auth.BindableCredentialStore, org.josso.auth.CredentialStore, org.josso.gateway.identity.service.store.IdentityStore
public class JOSSOIdentityStore
- extends java.lang.Object
- implements org.josso.gateway.identity.service.store.IdentityStore, org.josso.auth.BindableCredentialStore
- Author:
- Sohil Shah
Method Summary |
boolean |
bind(java.lang.String username,
java.lang.String password)
|
org.josso.gateway.identity.service.BaseRole[] |
findRolesByUserKey(org.josso.gateway.identity.service.store.UserKey userKey)
|
org.josso.auth.Credential[] |
loadCredentials(org.josso.auth.CredentialKey credentialKey)
|
org.josso.gateway.identity.service.BaseUser |
loadUser(org.josso.gateway.identity.service.store.UserKey userKey)
|
void |
setAuthenticationScheme(org.josso.auth.scheme.AuthenticationScheme authenticationScheme)
|
boolean |
userExists(org.josso.gateway.identity.service.store.UserKey userKey)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOSSOIdentityStore
public JOSSOIdentityStore()
findRolesByUserKey
public org.josso.gateway.identity.service.BaseRole[] findRolesByUserKey(org.josso.gateway.identity.service.store.UserKey userKey)
throws org.josso.gateway.identity.exceptions.SSOIdentityException
- Specified by:
findRolesByUserKey
in interface org.josso.gateway.identity.service.store.IdentityStore
- Throws:
org.josso.gateway.identity.exceptions.SSOIdentityException
loadUser
public org.josso.gateway.identity.service.BaseUser loadUser(org.josso.gateway.identity.service.store.UserKey userKey)
throws org.josso.gateway.identity.exceptions.NoSuchUserException,
org.josso.gateway.identity.exceptions.SSOIdentityException
- Specified by:
loadUser
in interface org.josso.gateway.identity.service.store.IdentityStore
- Throws:
org.josso.gateway.identity.exceptions.NoSuchUserException
org.josso.gateway.identity.exceptions.SSOIdentityException
userExists
public boolean userExists(org.josso.gateway.identity.service.store.UserKey userKey)
throws org.josso.gateway.identity.exceptions.SSOIdentityException
- Specified by:
userExists
in interface org.josso.gateway.identity.service.store.IdentityStore
- Throws:
org.josso.gateway.identity.exceptions.SSOIdentityException
loadCredentials
public org.josso.auth.Credential[] loadCredentials(org.josso.auth.CredentialKey credentialKey)
throws org.josso.gateway.identity.exceptions.SSOIdentityException
- Specified by:
loadCredentials
in interface org.josso.auth.CredentialStore
- Throws:
org.josso.gateway.identity.exceptions.SSOIdentityException
bind
public boolean bind(java.lang.String username,
java.lang.String password)
throws org.josso.auth.exceptions.SSOAuthenticationException
- Specified by:
bind
in interface org.josso.auth.BindableCredentialStore
- Throws:
org.josso.auth.exceptions.SSOAuthenticationException
setAuthenticationScheme
public void setAuthenticationScheme(org.josso.auth.scheme.AuthenticationScheme authenticationScheme)
- Specified by:
setAuthenticationScheme
in interface org.josso.auth.CredentialStore