|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.service.impl.multicast.SpSessionRegistryMulticastImpl
public class SpSessionRegistryMulticastImpl
A multicast backed implementation of this service interface that allows state to be shared between nodes in a cluster.
State is replicated within a sub-cluster.
| Field Summary | |
|---|---|
protected org.sourceid.config.ConfigStore |
config
|
protected org.apache.commons.logging.Log |
log
|
protected org.jgroups.util.Promise |
promise
|
protected org.jgroups.blocks.RpcDispatcher |
rpcDispatcher
|
protected org.sourceid.saml20.state.StateAccepter |
stateAccepter
|
protected int |
timeout
|
| Constructor Summary | |
|---|---|
SpSessionRegistryMulticastImpl()
|
|
| 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 |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log log
protected final org.sourceid.config.ConfigStore config
protected final int timeout
protected final org.sourceid.saml20.state.StateAccepter stateAccepter
protected final org.jgroups.blocks.RpcDispatcher rpcDispatcher
protected final org.jgroups.util.Promise promise
| Constructor Detail |
|---|
public SpSessionRegistryMulticastImpl()
throws org.jgroups.ChannelException
org.jgroups.ChannelException| Method Detail |
|---|
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 s)
SpSessionRegistry
lookupAuthnBean in interface SpSessionRegistrys - the session.
public Session lookupSessionReceived(SpHashableAuthnBean authnBean)
SpSessionRegistry
lookupSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
public Session unregisterSessionReceived(SpHashableAuthnBean authnBean)
SpSessionRegistry
unregisterSessionReceived in interface SpSessionRegistryauthnBean - the SpHashableAuthnBean.
public java.util.List<SpHashableAuthnBean> lookupAuthnBeans(java.lang.String sessionIdentifier)
SpSessionRegistry
lookupAuthnBeans in interface SpSessionRegistrysessionIdentifier - PingFederate's HTTP session id.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||