|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.service.impl.localmemory.SpSessionRegistryMapImpl
public class SpSessionRegistryMapImpl
A HashMap backed implementation of the SpSessionRegistry.
| Constructor Summary | |
|---|---|
SpSessionRegistryMapImpl()
|
|
| Method Summary | |
|---|---|
SpHashableAuthnBean |
lookupAuthnBean(Session assertion)
Retrieve the SpHashableAuthnBean that was registered with the given session. |
java.util.List<SpHashableAuthnBean> |
lookupAuthnBeans(java.lang.String sessionIdentifier)
Retrieve all the SpHashableAuthnBean associated with the PingFederate session id. |
Session |
lookupSessionReceived(SpHashableAuthnBean authnBean)
Retrieve the session that was registered with the given SpHashableAuthnBean. |
java.util.List<Session> |
lookupSessions(java.lang.String partnerEntityId,
org.sourceid.saml20.xmlbinding.assertion.NameIDType nameIDType)
Retrieve a list of sessions that have the given parameters. |
void |
registerSessionReceived(SpHashableAuthnBean authnBean,
Session session)
Register a session received from an IdP with the SpHashableAuthnBean that represents the application session created by the adapter. |
void |
setState(SpSessionRegistryMapImpl other)
|
void |
setState(org.sourceid.saml20.state.StateAccepter other)
|
Session |
unregisterSessionReceived(SpHashableAuthnBean authnBean)
Same as lookupSessionReceived but the session is also removed from the registry (usually because of logout). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpSessionRegistryMapImpl()
| Method Detail |
|---|
public void setState(org.sourceid.saml20.state.StateAccepter other)
setState in interface org.sourceid.saml20.state.StateAccepterpublic void setState(SpSessionRegistryMapImpl other)
public void registerSessionReceived(SpHashableAuthnBean authnBean,
Session session)
SpSessionRegistry
registerSessionReceived in interface SpSessionRegistryauthnBean - the local application session information.session - info from the assertion that was used to establish the local security context.
public java.util.List<Session> lookupSessions(java.lang.String partnerEntityId,
org.sourceid.saml20.xmlbinding.assertion.NameIDType nameIDType)
SpSessionRegistry
lookupSessions in interface SpSessionRegistrypartnerEntityId - the entity id of the IdP that issued the session(s)/assertion(s).nameIDType - the xml name id chunk from the assertion(s)/sessions(s)
public SpHashableAuthnBean lookupAuthnBean(Session assertion)
SpSessionRegistry
lookupAuthnBean in interface SpSessionRegistryassertion - the session.
public java.util.List<SpHashableAuthnBean> lookupAuthnBeans(java.lang.String sessionIdentifier)
SpSessionRegistry
lookupAuthnBeans in interface SpSessionRegistrysessionIdentifier - PingFederate's HTTP session id.
public Session lookupSessionReceived(SpHashableAuthnBean authnBean)
SpSessionRegistry
lookupSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
public Session unregisterSessionReceived(SpHashableAuthnBean authnBean)
SpSessionRegistry
unregisterSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||