|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sourceid.saml20.adapter.sp.authn.SsoContext
public class SsoContext
SsoContext is just a wrapper class that contains contextual information about a single sign-on event.
Constructor Summary | |
---|---|
SsoContext(org.sourceid.util.log.AttributeMap subjectAttributes,
org.sourceid.saml20.xmlbinding.assertion.AssertionType ssoAssertion,
java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> otherValidAssertions,
java.lang.String idpPartnerEntityId,
java.lang.String targetResourceUrl)
Create a new SsoContext. |
|
SsoContext(org.sourceid.util.log.AttributeMap subjectAttributes,
org.sourceid.saml20.xmlbinding.assertion.AssertionType ssoAssertion,
java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> otherValidAssertions,
java.lang.String idpPartnerEntityId,
java.lang.String targetResourceUrl,
java.lang.String authnCtx,
java.util.Date authnInstant)
Create a new SsoContext. |
Method Summary | |
---|---|
java.lang.String |
getAuthenticationContext()
Gets the authentication context (class reference URI) or authentication method of the assertion. |
java.util.Date |
getAuthenticationInstant()
Gets the authentication instant. |
java.lang.String |
getIdpPartnerEntityId()
Gets the entity id of the IDP who authenticated the user. |
java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> |
getOtherValidAssertions()
If more than one assertion was included by the IdP, the additional valid assertion can be accessed by this method. |
org.sourceid.saml20.xmlbinding.assertion.AssertionType |
getSsoAssertion()
The raw assertion that was relied upon for SSO. |
java.util.Map |
getSubjectAttributes()
Deprecated. Please use getSubjectAttrs() instead. |
java.util.Map<java.lang.String,AttributeValue> |
getSubjectAttrs()
Gets the attributes resulting from the PingFederate server's subject and attribute mapping process. |
java.lang.String |
getTargetResourceUrl()
The URL that is the end target destination of the SSO. |
void |
setTargetResourceUrl(java.lang.String targetResourceUrl)
Set the target resource URL. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SsoContext(org.sourceid.util.log.AttributeMap subjectAttributes, org.sourceid.saml20.xmlbinding.assertion.AssertionType ssoAssertion, java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> otherValidAssertions, java.lang.String idpPartnerEntityId, java.lang.String targetResourceUrl)
public SsoContext(org.sourceid.util.log.AttributeMap subjectAttributes, org.sourceid.saml20.xmlbinding.assertion.AssertionType ssoAssertion, java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> otherValidAssertions, java.lang.String idpPartnerEntityId, java.lang.String targetResourceUrl, java.lang.String authnCtx, java.util.Date authnInstant)
Method Detail |
---|
public java.util.Map getSubjectAttributes()
getSubjectAttrs()
instead.
public java.util.Map<java.lang.String,AttributeValue> getSubjectAttrs()
AttributeValue
public java.lang.String getIdpPartnerEntityId()
public java.lang.String getTargetResourceUrl()
public void setTargetResourceUrl(java.lang.String targetResourceUrl)
An SpAuthenticationAdapter implementation can modify the targetResourceUrl during the
SpAuthenticationAdapter.createAuthN(org.sourceid.saml20.adapter.sp.authn.SsoContext, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
method, if it needs to by calling this setter method
and the PingFederate server will use the new value.
targetResourceUrl
- the new target resource URL.public org.sourceid.saml20.xmlbinding.assertion.AssertionType getSsoAssertion()
All protocol validation has been performed on the assertion and the commonly used values have
been placed in the subject attributes map getSubjectAttributes()
. In general, only
advanced usages will need this method because getSubjectAttributes() contains most of the
commonly needed information.
public java.util.List<org.sourceid.saml20.xmlbinding.assertion.AssertionType> getOtherValidAssertions()
All protocol validation has been performed on these assertions and the commonly used values have
been placed in the subject attributes map getSubjectAttributes()
. In general, only
advanced usages will need this method because getSubjectAttributes() contains most of the
commonly needed information.
public java.lang.String getAuthenticationContext()
public java.util.Date getAuthenticationInstant()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |