Package org.pac4j.saml.context
Class SAML2MessageContext
- java.lang.Object
-
- org.opensaml.messaging.context.BaseContext
-
- org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject>
-
- org.pac4j.saml.context.SAML2MessageContext
-
- All Implemented Interfaces:
Iterable<org.opensaml.messaging.context.BaseContext>
public class SAML2MessageContext extends org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject>Allow to store additional information for SAML processing.- Version:
- 1.5.0
- Author:
- Michael Remond
-
-
Constructor Summary
Constructors Constructor Description SAML2MessageContext()SAML2MessageContext(org.opensaml.messaging.context.MessageContext<org.opensaml.saml.common.SAMLObject> ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.saml2.core.BaseIDgetBaseID()org.opensaml.saml.saml2.metadata.SingleLogoutServicegetIDPSingleLogoutService(String binding)org.opensaml.saml.saml2.metadata.SingleSignOnServicegetIDPSingleSignOnService(String binding)org.opensaml.saml.saml2.metadata.IDPSSODescriptorgetIDPSSODescriptor()org.opensaml.profile.context.ProfileRequestContextgetProfileRequestContext()Pac4jSAMLResponsegetProfileRequestContextOutboundMessageTransportResponse()org.opensaml.saml.common.messaging.context.SAMLBindingContextgetSAMLBindingContext()org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLEndpointContext()SAMLMessageStoregetSAMLMessageStore()org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLPeerEndpointContext()org.opensaml.saml.common.messaging.context.SAMLPeerEntityContextgetSAMLPeerEntityContext()org.opensaml.saml.common.messaging.context.SAMLMetadataContextgetSAMLPeerMetadataContext()org.opensaml.saml.common.messaging.context.SAMLProtocolContextgetSAMLProtocolContext()org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLSelfEndpointContext()org.opensaml.saml.common.messaging.context.SAMLSelfEntityContextgetSAMLSelfEntityContext()org.opensaml.saml.common.messaging.context.SAMLMetadataContextgetSAMLSelfMetadataContext()org.opensaml.saml.common.messaging.context.SAMLProtocolContextgetSAMLSelfProtocolContext()org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContextgetSAMLSubjectNameIdentifierContext()org.opensaml.xmlsec.context.SecurityParametersContextgetSecurityParametersContext()org.opensaml.soap.messaging.context.SOAP11ContextgetSOAP11Context()org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService()org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(String acsIndex)org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response)protected org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, List<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services)org.opensaml.saml.saml2.metadata.SPSSODescriptorgetSPSSODescriptor()org.opensaml.saml.saml2.core.AssertiongetSubjectAssertion()List<org.opensaml.saml.saml2.core.SubjectConfirmation>getSubjectConfirmations()WebContextgetWebContext()voidsetBaseID(org.opensaml.saml.saml2.core.BaseID baseID)voidsetSAMLMessageStore(SAMLMessageStore samlMessageStore)voidsetSubjectAssertion(org.opensaml.saml.saml2.core.Assertion subjectAssertion)voidsetWebContext(WebContext webContext)-
Methods inherited from class org.opensaml.messaging.context.BaseContext
addSubcontext, addSubcontext, clearSubcontexts, containsSubcontext, createSubcontext, getParent, getSubcontext, getSubcontext, getSubcontext, getSubcontext, isAutoCreateSubcontexts, iterator, removeSubcontext, removeSubcontext, setAutoCreateSubcontexts, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
getWebContext
public WebContext getWebContext()
-
setWebContext
public void setWebContext(WebContext webContext)
-
getSubjectAssertion
public final org.opensaml.saml.saml2.core.Assertion getSubjectAssertion()
-
getSPSSODescriptor
public final org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor()
-
getIDPSSODescriptor
public final org.opensaml.saml.saml2.metadata.IDPSSODescriptor getIDPSSODescriptor()
-
getIDPSingleLogoutService
public final org.opensaml.saml.saml2.metadata.SingleLogoutService getIDPSingleLogoutService(String binding)
-
getIDPSingleSignOnService
public org.opensaml.saml.saml2.metadata.SingleSignOnService getIDPSingleSignOnService(String binding)
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService()
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response)
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(String acsIndex)
-
getSPAssertionConsumerService
protected org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, List<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services)
-
getProfileRequestContext
public final org.opensaml.profile.context.ProfileRequestContext getProfileRequestContext()
-
getSAMLSelfEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext getSAMLSelfEntityContext()
-
getSOAP11Context
public final org.opensaml.soap.messaging.context.SOAP11Context getSOAP11Context()
-
getSAMLSelfMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLSelfMetadataContext()
-
getSAMLPeerMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLPeerMetadataContext()
-
getSAMLPeerEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext getSAMLPeerEntityContext()
-
getSAMLSubjectNameIdentifierContext
public final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContext getSAMLSubjectNameIdentifierContext()
-
setSubjectAssertion
public final void setSubjectAssertion(org.opensaml.saml.saml2.core.Assertion subjectAssertion)
-
getBaseID
public final org.opensaml.saml.saml2.core.BaseID getBaseID()
-
setBaseID
public final void setBaseID(org.opensaml.saml.saml2.core.BaseID baseID)
-
getSubjectConfirmations
public final List<org.opensaml.saml.saml2.core.SubjectConfirmation> getSubjectConfirmations()
-
getSAMLPeerEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLPeerEndpointContext()
-
getSAMLSelfEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLSelfEndpointContext()
-
getSAMLBindingContext
public final org.opensaml.saml.common.messaging.context.SAMLBindingContext getSAMLBindingContext()
-
getSecurityParametersContext
public final org.opensaml.xmlsec.context.SecurityParametersContext getSecurityParametersContext()
-
getSAMLSelfProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLSelfProtocolContext()
-
getSAMLProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLProtocolContext()
-
getProfileRequestContextOutboundMessageTransportResponse
public final Pac4jSAMLResponse getProfileRequestContextOutboundMessageTransportResponse()
-
getSAMLEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLEndpointContext()
-
getSAMLMessageStore
public final SAMLMessageStore getSAMLMessageStore()
-
setSAMLMessageStore
public final void setSAMLMessageStore(SAMLMessageStore samlMessageStore)
-
-