|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.service.impl.proxy.IdpSessionRegistryProxy
public class IdpSessionRegistryProxy
Chooses between an in-memory implementation or a multicast implementation at runtime depending on the configuration of the PingFederate server.
| Constructor Summary | |
|---|---|
IdpSessionRegistryProxy()
|
|
| Method Summary | |
|---|---|
IdpHashableAuthnBean |
getAuthnBean(java.lang.String assertionId)
Lookup the HashableAuthnBean that was registered against a remote session with the given asseriton id. |
java.util.List<Session> |
getIssuedSessions(IdpHashableAuthnBean authnBean)
Gets all the sessions that have been issued to SP partners that are currently registered against the given HashableAuthnBean. |
java.util.Set<IdpHashableAuthnBean> |
getRegisteredAuthnBeans(java.lang.String sessionIdentifier)
Looks up all the local application sessions (HashableAuthnBeans) associated with a given PingFederate session id. |
void |
registerSessionIssued(IdpHashableAuthnBean authnBean,
Session session)
Registers that a remote session was issued against a local application session represented by the HashableAuthnBean. |
void |
unregisterAuthnBean(IdpHashableAuthnBean authnBean)
Unregister an authentication bean. |
Session |
unregisterSession(java.lang.String assertionId)
Unregister and return a session by assertion id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IdpSessionRegistryProxy()
throws java.lang.IllegalAccessException,
java.lang.InstantiationException
java.lang.IllegalAccessException
java.lang.InstantiationException| Method Detail |
|---|
public java.util.Set<IdpHashableAuthnBean> getRegisteredAuthnBeans(java.lang.String sessionIdentifier)
throws SessionRegistryException
IdpSessionRegistry
getRegisteredAuthnBeans in interface IdpSessionRegistrysessionIdentifier - the PingFederate session identifier. See:
IdpHashableAuthnBean.getPingFederateSessionId().
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public void unregisterAuthnBean(IdpHashableAuthnBean authnBean)
throws SessionRegistryException
IdpSessionRegistry
unregisterAuthnBean in interface IdpSessionRegistryauthnBean - the local session.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public void registerSessionIssued(IdpHashableAuthnBean authnBean,
Session session)
throws SessionRegistryException
IdpSessionRegistry
Registers that a remote session was issued against a local application session represented by the
HashableAuthnBean. The HashableAuthnBean also contains a reference to the PingFederate local session
identifier IdpHashableAuthnBean.getPingFederateSessionId().
Note that the assertion id and the session index on the Session object will always be the same in this context because of the way PingFederate handles session indexes.
registerSessionIssued in interface IdpSessionRegistryauthnBean - the local application session (which contains a local session identifier).session - the remote session.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public java.util.List<Session> getIssuedSessions(IdpHashableAuthnBean authnBean)
throws SessionRegistryException
IdpSessionRegistry
getIssuedSessions in interface IdpSessionRegistryauthnBean - the local application session
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public Session unregisterSession(java.lang.String assertionId)
throws SessionRegistryException
IdpSessionRegistrySession.getAssertionId() and
IdpHashableAuthnBean.getPingFederateSessionId().
unregisterSession in interface IdpSessionRegistryassertionId - the assertion id.
SessionRegistryException - for any unexpected runtime problem that the implementation cannot handle.
public IdpHashableAuthnBean getAuthnBean(java.lang.String assertionId)
throws SessionRegistryException
IdpSessionRegistry
getAuthnBean in interface IdpSessionRegistryassertionId - the unique identifier of the assertion that was issued to an SP partner connection to
create a remote session.
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 | |||||||||