|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.service.Session
public class Session
An object that contains info about a SAML assertion/session. Depending on the context it can be an assertion received (if you are acting as an SP) or an assertion issued (if you are acting as an IdP). This object wraps the info needed to track sessions that have been issued or received to or from partners in order to do SLO.
Constructor Summary | |
---|---|
Session(java.lang.String entityId,
java.lang.String assertionId,
java.lang.String sessionIndex,
org.sourceid.saml20.xmlbinding.assertion.NameIDType nameId)
Creates a new Session with the given parameters. |
Method Summary | |
---|---|
java.lang.String |
getAssertionId()
Gets the assertion id of the assertion that was used to establish the session. |
java.lang.String |
getEntityId()
Gets the entity id of the partner to who the assertion was issued or from who the assertion was received. |
org.sourceid.saml20.xmlbinding.assertion.NameIDType |
getNameId()
Gets the the name id chunk of xml from the assertion that was used to establish the session. |
java.lang.String |
getSessionIndex()
Gets the session index of the assertion that was used to establish the session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Session(java.lang.String entityId, java.lang.String assertionId, java.lang.String sessionIndex, org.sourceid.saml20.xmlbinding.assertion.NameIDType nameId)
entityId
- the entity id of the partner.assertionId
- the unique identifier of the assertion that was issued or received.sessionIndex
- the session index on the assertion.nameId
- the name id chunk of xml from the assertion.Method Detail |
---|
public java.lang.String getEntityId()
public java.lang.String getAssertionId()
public java.lang.String getSessionIndex()
public org.sourceid.saml20.xmlbinding.assertion.NameIDType getNameId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |