Package org.pac4j.saml.context
Class SAML2MessageContext
java.lang.Object
org.pac4j.saml.context.SAML2MessageContext
Allow to store additional information for SAML processing.
- Version:
- 1.5.0
- Author:
- Michael Remond
-
Constructor Summary
ConstructorDescriptionSAML2MessageContext
(org.pac4j.core.context.CallContext callContext) Constructor for SAML2MessageContext. -
Method Summary
Modifier and TypeMethodDescriptiongetConfigurationContext.final org.opensaml.saml.saml2.metadata.SingleLogoutService
getIDPSingleLogoutService
(String binding) getIDPSingleLogoutService.org.opensaml.saml.saml2.metadata.SingleSignOnService
getIDPSingleSignOnService
(String binding) getIDPSingleSignOnService.final org.opensaml.saml.saml2.metadata.IDPSSODescriptor
getIDPSSODescriptor.final org.opensaml.profile.context.ProfileRequestContext
getProfileRequestContext.final Pac4jSAMLResponse
getProfileRequestContextOutboundMessageTransportResponse.final org.opensaml.saml.common.messaging.context.SAMLBindingContext
getSAMLBindingContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContext
getSAMLEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContext
getSAMLPeerEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext
getSAMLPeerEntityContext.final org.opensaml.saml.common.messaging.context.SAMLMetadataContext
getSAMLPeerMetadataContext.final org.opensaml.saml.common.messaging.context.SAMLProtocolContext
getSAMLProtocolContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContext
getSAMLSelfEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext
getSAMLSelfEntityContext.final org.opensaml.saml.common.messaging.context.SAMLMetadataContext
getSAMLSelfMetadataContext.final org.opensaml.saml.common.messaging.context.SAMLProtocolContext
getSAMLSelfProtocolContext.final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContext
getSAMLSubjectNameIdentifierContext.final org.opensaml.xmlsec.context.SecurityParametersContext
getSecurityParametersContext.final org.opensaml.soap.messaging.context.SOAP11Context
getSOAP11Context.org.opensaml.saml.saml2.metadata.AssertionConsumerService
getSPAssertionConsumerService.org.opensaml.saml.saml2.metadata.AssertionConsumerService
getSPAssertionConsumerService
(String acsIndex) getSPAssertionConsumerService.org.opensaml.saml.saml2.metadata.AssertionConsumerService
getSPAssertionConsumerService
(org.opensaml.saml.saml2.core.StatusResponseType response) getSPAssertionConsumerService.protected org.opensaml.saml.saml2.metadata.AssertionConsumerService
getSPAssertionConsumerService
(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, Collection<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services) getSPAssertionConsumerService.final org.opensaml.saml.saml2.metadata.SPSSODescriptor
getSPSSODescriptor.
-
Constructor Details
-
SAML2MessageContext
public SAML2MessageContext(org.pac4j.core.context.CallContext callContext) Constructor for SAML2MessageContext.
- Parameters:
callContext
- aCallContext
object
-
-
Method Details
-
getConfigurationContext
getConfigurationContext.
- Returns:
- a
SAML2ConfigurationContext
object
-
getSPSSODescriptor
public final org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor()getSPSSODescriptor.
- Returns:
- a
SPSSODescriptor
object
-
getIDPSSODescriptor
public final org.opensaml.saml.saml2.metadata.IDPSSODescriptor getIDPSSODescriptor()getIDPSSODescriptor.
- Returns:
- a
IDPSSODescriptor
object
-
getIDPSingleLogoutService
public final org.opensaml.saml.saml2.metadata.SingleLogoutService getIDPSingleLogoutService(String binding) getIDPSingleLogoutService.
- Parameters:
binding
- aString
object- Returns:
- a
SingleLogoutService
object
-
getIDPSingleSignOnService
public org.opensaml.saml.saml2.metadata.SingleSignOnService getIDPSingleSignOnService(String binding) getIDPSingleSignOnService.
- Parameters:
binding
- aString
object- Returns:
- a
SingleSignOnService
object
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService()getSPAssertionConsumerService.
- Returns:
- a
AssertionConsumerService
object
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response) getSPAssertionConsumerService.
- Parameters:
response
- aStatusResponseType
object- Returns:
- a
AssertionConsumerService
object
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(String acsIndex) getSPAssertionConsumerService.
- Parameters:
acsIndex
- aString
object- Returns:
- a
AssertionConsumerService
object
-
getSPAssertionConsumerService
protected org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, Collection<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services) getSPAssertionConsumerService.
- Parameters:
spssoDescriptor
- aSPSSODescriptor
objectservices
- aList
object- Returns:
- a
AssertionConsumerService
object
-
getProfileRequestContext
public final org.opensaml.profile.context.ProfileRequestContext getProfileRequestContext()getProfileRequestContext.
- Returns:
- a
ProfileRequestContext
object
-
getSAMLSelfEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext getSAMLSelfEntityContext()getSAMLSelfEntityContext.
- Returns:
- a
SAMLSelfEntityContext
object
-
getSOAP11Context
public final org.opensaml.soap.messaging.context.SOAP11Context getSOAP11Context()getSOAP11Context.
- Returns:
- a
SOAP11Context
object
-
getSAMLSelfMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLSelfMetadataContext()getSAMLSelfMetadataContext.
- Returns:
- a
SAMLMetadataContext
object
-
getSAMLPeerMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLPeerMetadataContext()getSAMLPeerMetadataContext.
- Returns:
- a
SAMLMetadataContext
object
-
getSAMLPeerEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext getSAMLPeerEntityContext()getSAMLPeerEntityContext.
- Returns:
- a
SAMLPeerEntityContext
object
-
getSAMLSubjectNameIdentifierContext
public final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContext getSAMLSubjectNameIdentifierContext()getSAMLSubjectNameIdentifierContext.
- Returns:
- a
SAMLSubjectNameIdentifierContext
object
-
getSAMLPeerEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLPeerEndpointContext()getSAMLPeerEndpointContext.
- Returns:
- a
SAMLEndpointContext
object
-
getSAMLSelfEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLSelfEndpointContext()getSAMLSelfEndpointContext.
- Returns:
- a
SAMLEndpointContext
object
-
getSAMLBindingContext
public final org.opensaml.saml.common.messaging.context.SAMLBindingContext getSAMLBindingContext()getSAMLBindingContext.
- Returns:
- a
SAMLBindingContext
object
-
getSecurityParametersContext
public final org.opensaml.xmlsec.context.SecurityParametersContext getSecurityParametersContext()getSecurityParametersContext.
- Returns:
- a
SecurityParametersContext
object
-
getSAMLSelfProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLSelfProtocolContext()getSAMLSelfProtocolContext.
- Returns:
- a
SAMLProtocolContext
object
-
getSAMLProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLProtocolContext()getSAMLProtocolContext.
- Returns:
- a
SAMLProtocolContext
object
-
getProfileRequestContextOutboundMessageTransportResponse
getProfileRequestContextOutboundMessageTransportResponse.
- Returns:
- a
Pac4jSAMLResponse
object
-
getSAMLEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLEndpointContext()getSAMLEndpointContext.
- Returns:
- a
SAMLEndpointContext
object
-