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
ConstructorsConstructorDescriptionSAML2MessageContext(org.pac4j.core.context.CallContext callContext) Constructor for SAML2MessageContext. -
Method Summary
Modifier and TypeMethodDescriptiongetConfigurationContext.final org.opensaml.saml.saml2.metadata.SingleLogoutServicegetIDPSingleLogoutService(String binding) getIDPSingleLogoutService.org.opensaml.saml.saml2.metadata.SingleSignOnServicegetIDPSingleSignOnService(String binding) getIDPSingleSignOnService.final org.opensaml.saml.saml2.metadata.IDPSSODescriptorgetIDPSSODescriptor.final org.opensaml.profile.context.ProfileRequestContextgetProfileRequestContext.final Pac4jSAMLResponsegetProfileRequestContextOutboundMessageTransportResponse.final org.opensaml.saml.common.messaging.context.SAMLBindingContextgetSAMLBindingContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLPeerEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContextgetSAMLPeerEntityContext.final org.opensaml.saml.common.messaging.context.SAMLMetadataContextgetSAMLPeerMetadataContext.final org.opensaml.saml.common.messaging.context.SAMLProtocolContextgetSAMLProtocolContext.final org.opensaml.saml.common.messaging.context.SAMLEndpointContextgetSAMLSelfEndpointContext.final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContextgetSAMLSelfEntityContext.final org.opensaml.saml.common.messaging.context.SAMLMetadataContextgetSAMLSelfMetadataContext.final org.opensaml.saml.common.messaging.context.SAMLProtocolContextgetSAMLSelfProtocolContext.final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContextgetSAMLSubjectNameIdentifierContext.final org.opensaml.xmlsec.context.SecurityParametersContextgetSecurityParametersContext.final org.opensaml.soap.messaging.context.SOAP11ContextgetSOAP11Context.org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService.org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(String acsIndex) getSPAssertionConsumerService.org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response) getSPAssertionConsumerService.protected org.opensaml.saml.saml2.metadata.AssertionConsumerServicegetSPAssertionConsumerService(org.opensaml.saml.saml2.metadata.SPSSODescriptor spssoDescriptor, Collection<org.opensaml.saml.saml2.metadata.AssertionConsumerService> services) getSPAssertionConsumerService.final org.opensaml.saml.saml2.metadata.SPSSODescriptorgetSPSSODescriptor.
-
Constructor Details
-
SAML2MessageContext
public SAML2MessageContext(org.pac4j.core.context.CallContext callContext) Constructor for SAML2MessageContext.
- Parameters:
callContext- aCallContextobject
-
-
Method Details
-
getConfigurationContext
getConfigurationContext.
- Returns:
- a
SAML2ConfigurationContextobject
-
getSPSSODescriptor
public final org.opensaml.saml.saml2.metadata.SPSSODescriptor getSPSSODescriptor()getSPSSODescriptor.
- Returns:
- a
SPSSODescriptorobject
-
getIDPSSODescriptor
public final org.opensaml.saml.saml2.metadata.IDPSSODescriptor getIDPSSODescriptor()getIDPSSODescriptor.
- Returns:
- a
IDPSSODescriptorobject
-
getIDPSingleLogoutService
public final org.opensaml.saml.saml2.metadata.SingleLogoutService getIDPSingleLogoutService(String binding) getIDPSingleLogoutService.
- Parameters:
binding- aStringobject- Returns:
- a
SingleLogoutServiceobject
-
getIDPSingleSignOnService
public org.opensaml.saml.saml2.metadata.SingleSignOnService getIDPSingleSignOnService(String binding) getIDPSingleSignOnService.
- Parameters:
binding- aStringobject- Returns:
- a
SingleSignOnServiceobject
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService()getSPAssertionConsumerService.
- Returns:
- a
AssertionConsumerServiceobject
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(org.opensaml.saml.saml2.core.StatusResponseType response) getSPAssertionConsumerService.
- Parameters:
response- aStatusResponseTypeobject- Returns:
- a
AssertionConsumerServiceobject
-
getSPAssertionConsumerService
public org.opensaml.saml.saml2.metadata.AssertionConsumerService getSPAssertionConsumerService(String acsIndex) getSPAssertionConsumerService.
- Parameters:
acsIndex- aStringobject- Returns:
- a
AssertionConsumerServiceobject
-
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- aSPSSODescriptorobjectservices- aListobject- Returns:
- a
AssertionConsumerServiceobject
-
getProfileRequestContext
public final org.opensaml.profile.context.ProfileRequestContext getProfileRequestContext()getProfileRequestContext.
- Returns:
- a
ProfileRequestContextobject
-
getSAMLSelfEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLSelfEntityContext getSAMLSelfEntityContext()getSAMLSelfEntityContext.
- Returns:
- a
SAMLSelfEntityContextobject
-
getSOAP11Context
public final org.opensaml.soap.messaging.context.SOAP11Context getSOAP11Context()getSOAP11Context.
- Returns:
- a
SOAP11Contextobject
-
getSAMLSelfMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLSelfMetadataContext()getSAMLSelfMetadataContext.
- Returns:
- a
SAMLMetadataContextobject
-
getSAMLPeerMetadataContext
public final org.opensaml.saml.common.messaging.context.SAMLMetadataContext getSAMLPeerMetadataContext()getSAMLPeerMetadataContext.
- Returns:
- a
SAMLMetadataContextobject
-
getSAMLPeerEntityContext
public final org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext getSAMLPeerEntityContext()getSAMLPeerEntityContext.
- Returns:
- a
SAMLPeerEntityContextobject
-
getSAMLSubjectNameIdentifierContext
public final org.opensaml.saml.common.messaging.context.SAMLSubjectNameIdentifierContext getSAMLSubjectNameIdentifierContext()getSAMLSubjectNameIdentifierContext.
- Returns:
- a
SAMLSubjectNameIdentifierContextobject
-
getSAMLPeerEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLPeerEndpointContext()getSAMLPeerEndpointContext.
- Returns:
- a
SAMLEndpointContextobject
-
getSAMLSelfEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLSelfEndpointContext()getSAMLSelfEndpointContext.
- Returns:
- a
SAMLEndpointContextobject
-
getSAMLBindingContext
public final org.opensaml.saml.common.messaging.context.SAMLBindingContext getSAMLBindingContext()getSAMLBindingContext.
- Returns:
- a
SAMLBindingContextobject
-
getSecurityParametersContext
public final org.opensaml.xmlsec.context.SecurityParametersContext getSecurityParametersContext()getSecurityParametersContext.
- Returns:
- a
SecurityParametersContextobject
-
getSAMLSelfProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLSelfProtocolContext()getSAMLSelfProtocolContext.
- Returns:
- a
SAMLProtocolContextobject
-
getSAMLProtocolContext
public final org.opensaml.saml.common.messaging.context.SAMLProtocolContext getSAMLProtocolContext()getSAMLProtocolContext.
- Returns:
- a
SAMLProtocolContextobject
-
getProfileRequestContextOutboundMessageTransportResponse
getProfileRequestContextOutboundMessageTransportResponse.
- Returns:
- a
Pac4jSAMLResponseobject
-
getSAMLEndpointContext
public final org.opensaml.saml.common.messaging.context.SAMLEndpointContext getSAMLEndpointContext()getSAMLEndpointContext.
- Returns:
- a
SAMLEndpointContextobject
-