|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.service.impl.proxy.SpSessionRegistryProxy
public class SpSessionRegistryProxy
Chooses between an in-memory implementation or a multicast implementation at runtime depending on the configuration of the PingFederate server.
| Constructor Summary | |
|---|---|
SpSessionRegistryProxy()
|
|
| Method Summary | |
|---|---|
SpHashableAuthnBean |
lookupAuthnBean(Session s)
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. |
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 SpSessionRegistryProxy()
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.InstantiationException| Method Detail |
|---|
public void registerSessionReceived(SpHashableAuthnBean authnBean,
Session session)
throws SessionRegistryException
SpSessionRegistry
registerSessionReceived in interface SpSessionRegistryauthnBean - the local application session information.session - info from the assertion that was used to establish the local security context.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public java.util.List<Session> lookupSessions(java.lang.String partnerEntityId,
org.sourceid.saml20.xmlbinding.assertion.NameIDType nameIDType)
throws SessionRegistryException
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)
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public SpHashableAuthnBean lookupAuthnBean(Session s)
throws SessionRegistryException
SpSessionRegistry
lookupAuthnBean in interface SpSessionRegistrys - the session.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public Session lookupSessionReceived(SpHashableAuthnBean authnBean)
throws SessionRegistryException
SpSessionRegistry
lookupSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public Session unregisterSessionReceived(SpHashableAuthnBean authnBean)
throws SessionRegistryException
SpSessionRegistry
unregisterSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public java.util.List<SpHashableAuthnBean> lookupAuthnBeans(java.lang.String sessionIdentifier)
throws SessionRegistryException
SpSessionRegistry
lookupAuthnBeans in interface SpSessionRegistrysessionIdentifier - PingFederate's HTTP session id.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||