|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IdpSessionRegistry
Defines the methods needed by PingFederate to track assertions/sessions issued to SP partners and the associated local application information (HashableAuthnBeans). This service allows PingFederate to track the state needed to perform single logout.
Note that this interface is utilized only when you have PingFederate configured as an IdP and one or more SP connections configured to do single logout.
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 pingFederateSessionIdentifier)
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. |
Method Detail |
---|
void registerSessionIssued(IdpHashableAuthnBean authnBean, Session session) throws SessionRegistryException
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.
authnBean
- 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.Session unregisterSession(java.lang.String assertionId) throws SessionRegistryException
Session.getAssertionId()
and
IdpHashableAuthnBean.getPingFederateSessionId()
.
assertionId
- the assertion id.
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.void unregisterAuthnBean(IdpHashableAuthnBean authnBean) throws SessionRegistryException
authnBean
- the local session.
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.java.util.List<Session> getIssuedSessions(IdpHashableAuthnBean authnBean) throws SessionRegistryException
authnBean
- the local application session
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.IdpHashableAuthnBean getAuthnBean(java.lang.String assertionId) throws SessionRegistryException
assertionId
- 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.java.util.Set<IdpHashableAuthnBean> getRegisteredAuthnBeans(java.lang.String pingFederateSessionIdentifier) throws SessionRegistryException
pingFederateSessionIdentifier
- the PingFederate session identifier. See:
IdpHashableAuthnBean.getPingFederateSessionId()
.
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 |