|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SpSessionRegistry
Defines the methods needed by PingFederate to track assertions/sessions received from IdP partners and the associated local application information (SpHashableAuthnBeans). 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 SP and one or more IdP connections configured to do single logout.
Method Summary | |
---|---|
SpHashableAuthnBean |
lookupAuthnBean(Session session)
Retrieve the SpHashableAuthnBean that was registered with the given session. |
java.util.List<SpHashableAuthnBean> |
lookupAuthnBeans(java.lang.String pingFederateSessionId)
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 partnerIdpEntityId,
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). |
Method Detail |
---|
void registerSessionReceived(SpHashableAuthnBean authnBean, Session session) throws SessionRegistryException
authnBean
- 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.java.util.List<Session> lookupSessions(java.lang.String partnerIdpEntityId, org.sourceid.saml20.xmlbinding.assertion.NameIDType nameIDType) throws SessionRegistryException
partnerIdpEntityId
- 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.SpHashableAuthnBean lookupAuthnBean(Session session) throws SessionRegistryException
session
- the session.
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.Session lookupSessionReceived(SpHashableAuthnBean authnBean) throws SessionRegistryException
authnBean
- the SpHashableAuthnBean.
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.Session unregisterSessionReceived(SpHashableAuthnBean authnBean) throws SessionRegistryException
authnBean
- the SpHashableAuthnBean.
SessionRegistryException
- for any unexpected runtime problem that the implementation cannot handle.java.util.List<SpHashableAuthnBean> lookupAuthnBeans(java.lang.String pingFederateSessionId) throws SessionRegistryException
pingFederateSessionId
- 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 |