Uses of Class
org.opensaml.messaging.context.MessageContext
Packages that use MessageContext
Package
Description
Interfaces and classes for tracking message processing state.
A set of functions used to navigate and lookup data
from a tree of
BaseContext
s.Interfaces and classes for decoding messages.
Interfaces and classes for encoding messages.
Interfaces and classes for message-related error handling.
Interfaces and classes for message context handlers.
Implementations of message context handlers.
Interfaces and classes for messaging logic.
Interfaces and classes for profile actions, discrete units of behavior that
make up a profile.
Implementations of general profile actions.
Functions for navigating profile context information.
First order logic predicates and functions used for working with profile request data.
Classes related to SAML binding operations.
Implementation of SAML binding-level functionality, such as MessageHandlers.
Classes responsible for performing transport-related and basic message
validation of decoded SAML messages.
Support classes for SAML message security operations.
Functions to navigate SAML message contexts.
Predicates related to SAML message contexts.
Support classes for SAML SOAP message operations.
Classes that may be used to create and manipulate SAML 1 artifacts.
SAML 1.x message decoders.
SAML 1.x message encoders.
General message handlers for SAML 1.x.
Classes that may be used to create and manipulate SAML 2 artifacts.
SAML 2.0 message decoders.
SAML 1.x message encoders.
General message handlers for SAML 2.
Security-related message handlers for SAML 2.
Implementations of SAML 2.0 profile behavior.
Implementation of SAML WS-Security message handler functionality.
Messaging-related security classes.
Message handler implementations.
SOAP HTTP client functionality.
SOAP HTTP client messaging functionality.
Classes related to SOAP client security.
SOAP messaging support components.
SOAP over HTTP 1.1 message decoder and handlers.
SOAP messaging support implementations.
WS-Addressing message handling components.
WS-Security messaging support components.
WS-Security message handling components.
-
Uses of MessageContext in org.opensaml.messaging.context
Fields in org.opensaml.messaging.context declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContext
InOutOperationContext.inboundContext
The inbound message context.private MessageContext
InOutOperationContext.outboundContext
The outbound message context.Methods in org.opensaml.messaging.context that return MessageContextModifier and TypeMethodDescriptionInOutOperationContext.getInboundMessageContext()
The inbound message context instance.InOutOperationContext.getOutboundMessageContext()
The outbound message context instance.Methods in org.opensaml.messaging.context with parameters of type MessageContextModifier and TypeMethodDescriptionvoid
InOutOperationContext.setInboundMessageContext
(MessageContext context) Sets the inbound message context.void
InOutOperationContext.setOutboundMessageContext
(MessageContext context) Sets the outbound message context.Constructors in org.opensaml.messaging.context with parameters of type MessageContextModifierConstructorDescriptionInOutOperationContext
(MessageContext inbound, MessageContext outbound) Constructor. -
Uses of MessageContext in org.opensaml.messaging.decoder
Fields in org.opensaml.messaging.decoder declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContext
AbstractMessageDecoder.messageContext
Message context.Methods in org.opensaml.messaging.decoder that return MessageContextModifier and TypeMethodDescriptionAbstractMessageDecoder.getMessageContext()
Get the decoded message context.MessageDecoder.getMessageContext()
Get the decoded message context.Methods in org.opensaml.messaging.decoder with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
AbstractMessageDecoder.setMessageContext
(MessageContext context) Set the message context. -
Uses of MessageContext in org.opensaml.messaging.encoder
Fields in org.opensaml.messaging.encoder declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContext
AbstractMessageEncoder.messageContext
The message context.Methods in org.opensaml.messaging.encoder that return MessageContextModifier and TypeMethodDescriptionprotected MessageContext
AbstractMessageEncoder.getMessageContext()
Get the message context.Methods in org.opensaml.messaging.encoder with parameters of type MessageContextModifier and TypeMethodDescriptionvoid
AbstractMessageEncoder.setMessageContext
(MessageContext context) Set theMessageContext
which is to be encoded.void
MessageEncoder.setMessageContext
(MessageContext messageContext) Set theMessageContext
which is to be encoded. -
Uses of MessageContext in org.opensaml.messaging.error
Methods in org.opensaml.messaging.error with parameters of type MessageContextModifier and TypeMethodDescriptionboolean
MessageErrorHandler.handleError
(Throwable t, MessageContext messageContext) Handle a particular thrown error. -
Uses of MessageContext in org.opensaml.messaging.handler
Fields in org.opensaml.messaging.handler with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Predicate<MessageContext>
AbstractMessageHandler.activationCondition
Condition dictating whether to run or not.Methods in org.opensaml.messaging.handler that return types with arguments of type MessageContextModifier and TypeMethodDescriptionAbstractMessageHandler.getActivationCondition()
Get activation condition indicating whether the handler should be invoked.Methods in org.opensaml.messaging.handler with parameters of type MessageContextModifier and TypeMethodDescriptionprotected abstract void
AbstractMessageHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AbstractMessageHandler.doPostInvoke
(MessageContext messageContext) Called after execution, handlers may override this method to perform post-processing for a request.protected void
AbstractMessageHandler.doPostInvoke
(MessageContext messageContext, Exception e) Called after execution, handlers may override this method to perform post-processing for a request.protected boolean
AbstractMessageHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.void
AbstractMessageHandler.invoke
(MessageContext messageContext) Invoke the handler on the specified message context.void
MessageHandler.invoke
(MessageContext messageContext) Invoke the handler on the specified message context.Method parameters in org.opensaml.messaging.handler with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AbstractMessageHandler.setActivationCondition
(Predicate<MessageContext> condition) Set activation condition indicating whether the handler should be invoked. -
Uses of MessageContext in org.opensaml.messaging.handler.impl
Fields in org.opensaml.messaging.handler.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
Boolean> CheckMandatoryAuthentication.authenticationLookupStrategy
Strategy used to look up the authentication state associated with the message context.private Function<MessageContext,
String> CheckExpectedIssuer.expectedIssuerLookupStrategy
Strategy used to look up the expected issuer associated with the message context.private Function<MessageContext,
String> CheckExpectedIssuer.issuerLookupStrategy
Strategy used to look up the issuer associated with the message context.private Function<MessageContext,
String> CheckMandatoryIssuer.issuerLookupStrategy
Strategy used to look up the issuer associated with the message context.private Function<MessageContext,
Exception> FunctionMessageHandler.messageContextConsumer
TheFunction
to run.private Function<MessageContext,
BaseContext> AbstractMessageChannelSecurity.parentContextLookupStrategy
Strategy used to look up the parentBaseContext
on which theMessageChannelSecurityContext
will be populated.private Function<MessageContext,
String> URLEvaluatingMessageChannelSecurity.urlLookup
Function which looks up the URL to evaluate.Methods in org.opensaml.messaging.handler.impl with parameters of type MessageContextModifier and TypeMethodDescriptionvoid
BasicMessageHandlerChain.doInvoke
(MessageContext msgContext) Performs the handler logic.protected void
CheckExpectedIssuer.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
CheckMandatoryAuthentication.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
CheckMandatoryIssuer.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
FunctionMessageHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
HTTPRequestValidationHandler.doInvoke
(MessageContext messageContext) Evaluates whether the specified HTTP servlet request meets all requirements.protected void
MessageHandlerErrorStrategyAdapter.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SchemaValidateXMLMessage.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
StaticMessageChannelSecurity.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
URLEvaluatingMessageChannelSecurity.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
AbstractMessageChannelSecurity.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
SchemaValidateXMLMessage.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
URLEvaluatingMessageChannelSecurity.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.Method parameters in org.opensaml.messaging.handler.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
CheckMandatoryAuthentication.setAuthenticationLookupStrategy
(Function<MessageContext, Boolean> strategy) Set the strategy used to look up the authentication state associated with the message context.void
CheckExpectedIssuer.setExpectedIssuerLookupStrategy
(Function<MessageContext, String> strategy) Set the strategy used to look up the expected issuer associated with the message context.void
FunctionMessageHandler.setFunction
(Function<MessageContext, Exception> function) Set theFunction
to use.void
CheckExpectedIssuer.setIssuerLookupStrategy
(Function<MessageContext, String> strategy) Set the strategy used to look up the issuer associated with the message context.void
CheckMandatoryIssuer.setIssuerLookupStrategy
(Function<MessageContext, String> strategy) Set the strategy used to look up the issuer associated with the message context.void
AbstractMessageChannelSecurity.setParentContextLookupStrategy
(Function<MessageContext, BaseContext> strategy) Set the strategy used to look up the parentBaseContext
on which theMessageChannelSecurityContext
will be populated.void
URLEvaluatingMessageChannelSecurity.setURLLookup
(Function<MessageContext, String> function) Set the function which looks up the destination URL to evaluate. -
Uses of MessageContext in org.opensaml.messaging.logic
Methods in org.opensaml.messaging.logic with parameters of type MessageContextModifier and TypeMethodDescriptionboolean
NoConfidentialityMessageChannelPredicate.test
(MessageContext input) boolean
NoIntegrityMessageChannelPredicate.test
(MessageContext input) -
Uses of MessageContext in org.opensaml.profile.action
Fields in org.opensaml.profile.action with type parameters of type MessageContextModifier and TypeFieldDescriptionAbstractHandlerDelegatingProfileAction.messageContextLookup
Lookup function for the message context on which to operate.private static final ParentProfileRequestContextLookup<MessageContext>
AbstractHandlerDelegatingProfileAction.PRC_LOOKUP
Lookup function for parent ProfileRequestContext.Methods in org.opensaml.profile.action that return types with arguments of type MessageContextModifier and TypeMethodDescriptionprotected <T> Function<MessageContext,
T> AbstractHandlerDelegatingProfileAction.adapt
(Function<ProfileRequestContext, T> function) Adapt aProfileRequestContext
function to aMessageContext
function via composing with a lookup function.protected Predicate<MessageContext>
AbstractHandlerDelegatingProfileAction.adapt
(Predicate<ProfileRequestContext> predicate) Adapt aProfileRequestContext
predicate into aMessageContext
predicate via composing with a lookup function.Constructor parameters in org.opensaml.profile.action with type arguments of type MessageContextModifierConstructorDescriptionAbstractHandlerDelegatingProfileAction
(DelegateType delegateInstance, ContextDataLookupFunction<ProfileRequestContext, MessageContext> lookup) Constructor.AbstractHandlerDelegatingProfileAction
(Class<DelegateType> delegateClass, ContextDataLookupFunction<ProfileRequestContext, MessageContext> lookup) Constructor. -
Uses of MessageContext in org.opensaml.profile.action.impl
Fields in org.opensaml.profile.action.impl declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContext
EncodeMessage.msgContext
The outbound MessageContext to encode. -
Uses of MessageContext in org.opensaml.profile.logic
Fields in org.opensaml.profile.logic with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate static final ParentProfileRequestContextLookup<MessageContext>
MessageContextPredicateAdapter.PRC_LOOKUP
The lookup function for the ProfileRequestContext.Methods in org.opensaml.profile.logic with parameters of type MessageContextModifier and TypeMethodDescriptionboolean
MessageContextPredicateAdapter.test
(MessageContext input) -
Uses of MessageContext in org.opensaml.saml.common.binding
Methods in org.opensaml.saml.common.binding with parameters of type MessageContextModifier and TypeMethodDescriptionstatic String
SAMLBindingSupport.getActualReceiverEndpointURI
(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) Extract the transport endpoint URI at which this message was received.static URI
SAMLBindingSupport.getEndpointURL
(MessageContext messageContext) Get the response URL from the relying party endpoint.static String
SAMLBindingSupport.getIntendedDestinationEndpointURI
(MessageContext messageContext) Extract the message information which indicates to what receiver endpoint URI the SAML message was intended to be delivered.static String
SAMLBindingSupport.getRelayState
(MessageContext messageContext) Get the SAML protocol relay state from a message context.static boolean
SAMLBindingSupport.isIntendedDestinationEndpointURIRequired
(MessageContext messageContext) Determine whether the binding in use requires the presence within the message of information indicating the intended message destination endpoint URI.static boolean
SAMLBindingSupport.isMessageSigned
(MessageContext messageContext) Determine whether the SAML message represented by the message context is digitally signed.static boolean
SAMLBindingSupport.isMessageSigned
(MessageContext messageContext, boolean presenceSatisfies) Determine whether the SAML message represented by the message context is digitally signed.static boolean
SAMLBindingSupport.isSigningCapableBinding
(MessageContext messageContext) Determine whether the SAML binding to be used by the message context supports signatures at the binding layer.static void
SAMLBindingSupport.setRelayState
(MessageContext messageContext, String relayState) Set the SAML protocol relay state on a message context. -
Uses of MessageContext in org.opensaml.saml.common.binding.impl
Fields in org.opensaml.saml.common.binding.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
AuthnRequest> SAMLAddAttributeConsumingServiceHandler.authnRequestLookupStrategy
Lookup strategy for anAuthnRequest
index.private Function<MessageContext,
ChannelBindingsContext> AddChannelBindingsHeaderHandler.channelBindingsContextLookupStrategy
Strategy used to locate theChannelBindingsContext
to operate on.PopulateSignatureSigningParametersHandler.configurationLookupStrategy
Strategy used to look up a per-requestSignatureSigningConfiguration
list.private ContextDataLookupFunction<MessageContext,
? extends BaseContext> SAMLProtocolAndRoleHandler.copyContextLookup
Optional lookup function for a context from which to copy the protocol and role data, for example from a parent operation context.private Function<MessageContext,
SAMLMetadataContext> SAMLMetadataLookupHandler.copyContextStrategy
Optional strategy for resolving an existing metadata context from which to copy data.PopulateSignatureSigningParametersHandler.existingParametersContextLookupStrategy
Strategy used to look up an existingSecurityParametersContext
to copy.private Function<MessageContext,
SAMLMetadataContext> PopulateSignatureSigningParametersHandler.metadataContextLookupStrategy
Strategy used to look up a SAML metadata context.private Function<MessageContext,
SAMLMetadataContext> SAMLAddAttributeConsumingServiceHandler.metadataContextLookupStrategy
Lookup strategy forSAMLMetadataContext
.PopulateSignatureSigningParametersHandler.securityParametersContextLookupStrategy
Strategy used to look up theSecurityParametersContext
to set the parameters for.Methods in org.opensaml.saml.common.binding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionSAMLAddAttributeConsumingServiceHandler.AuthnRequestLookup.apply
(MessageContext input) protected CriteriaSet
SAMLMetadataLookupHandler.buildLookupCriteria
(MessageContext messageContext) Build the lookup criteria from the message context data.protected void
AddChannelBindingsHeaderHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
CheckMessageVersionHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
PopulateSignatureSigningParametersHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLAddAttributeConsumingServiceHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLMetadataLookupHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLOutboundDestinationHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLProtocolAndRoleHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLSOAPDecoderBodyHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
AddChannelBindingsHeaderHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
PopulateSignatureSigningParametersHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
SAMLAddAttributeConsumingServiceHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected SAMLMetadataContext
SAMLMetadataLookupHandler.resolveExisting
(MessageContext messageContext, String entityID, QName role) Attempt to resolve an existingSAMLMetadataContext
from which to copy.Method parameters in org.opensaml.saml.common.binding.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AddChannelBindingsHeaderHandler.setChannelBindingsContextLookupStrategy
(Function<MessageContext, ChannelBindingsContext> strategy) Set the strategy used to locate theChannelBindingsContext
to operate on.void
PopulateSignatureSigningParametersHandler.setConfigurationLookupStrategy
(Function<MessageContext, List<SignatureSigningConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureSigningConfiguration
list.void
SAMLProtocolAndRoleHandler.setCopyContextLookup
(ContextDataLookupFunction<MessageContext, ? extends BaseContext> lookup) Set the optional lookup function for a context from which to copy the protocol and role data, for example from a parent operation context.void
SAMLMetadataLookupHandler.setCopyContextStrategy
(Function<MessageContext, SAMLMetadataContext> strategy) Set the optional strategy for resolving an existing metadata context from which to copy data.void
PopulateSignatureSigningParametersHandler.setExistingParametersContextLookupStrategy
(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up an existingSecurityParametersContext
to copy instead of actually resolving the parameters to set.void
SAMLAddAttributeConsumingServiceHandler.setIndexLookupStrategy
(Function<MessageContext, AuthnRequest> strategy) Set the strategy to locate theAttributeConsumingService
index from theMessageContext
.void
PopulateSignatureSigningParametersHandler.setMetadataContextLookupStrategy
(Function<MessageContext, SAMLMetadataContext> strategy) Set lookup strategy forSAMLMetadataContext
for input to resolution.void
SAMLAddAttributeConsumingServiceHandler.setMetadataContextLookupStrategy
(Function<MessageContext, SAMLMetadataContext> strategy) Set the strategy to locate theSAMLMetadataContext
from theMessageContext
.void
PopulateSignatureSigningParametersHandler.setSecurityParametersContextLookupStrategy
(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContext
to set the parameters for. -
Uses of MessageContext in org.opensaml.saml.common.binding.security.impl
Fields in org.opensaml.saml.common.binding.security.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionCheckAndRecordServerTLSEntityAuthenticationtHandler.entityIDLookup
The strategy function for resolving the authenticated entityID.private ContextDataLookupFunction<MessageContext,
org.apache.http.client.protocol.HttpClientContext> CheckAndRecordServerTLSEntityAuthenticationtHandler.httpClientContextLookup
The strategy function for resolving theto evaluate
.OperationContextEntityIDLookup.parentLookup
Parent operation context lookup function.Methods in org.opensaml.saml.common.binding.security.impl with parameters of type MessageContextModifier and TypeMethodDescriptionorg.apache.http.client.protocol.HttpClientContext
CheckAndRecordServerTLSEntityAuthenticationtHandler.DefaultHttpClientContextLookup.apply
(MessageContext messageContext) OperationContextEntityIDLookup.apply
(MessageContext messageContext) protected CriteriaSet
BaseSAMLSimpleSignatureSecurityHandler.buildCriteriaSet
(String entityID, MessageContext messageContext) Build a criteria set suitable for input to the trust engine.protected CriteriaSet
BaseSAMLXMLSignatureSecurityHandler.buildCriteriaSet
(String entityID, MessageContext messageContext) Subclasses are required to implement this method to build a criteria set for the trust engine according to trust engine and application-specific needs.protected CriteriaSet
SAMLMDClientCertAuthSecurityHandler.buildCriteriaSet
(String entityID, MessageContext messageContext) Subclasses are required to implement this method to build a criteria set for the trust engine according to trust engine and application-specific needs.protected void
ReceivedEndpointSecurityHandler.checkEndpointURI
(MessageContext messageContext, URIComparator comparator) Check the validity of the SAML protocol message receiver endpoint against requirements indicated in the message.protected String
BaseSAMLSimpleSignatureSecurityHandler.deriveSignerEntityID
(MessageContext messageContext) Derive the signer's entity ID from the message context.private void
BaseSAMLSimpleSignatureSecurityHandler.doEvaluate
(byte[] signature, byte[] signedContent, String algorithmURI, MessageContext messageContext) Evaluate the simple signature based on information in the request and/or message context.protected void
SAMLProtocolMessageXMLSignatureSecurityHandler.doEvaluate
(Signature signature, SignableSAMLObject signableObject, MessageContext messageContext) Perform cryptographic validation and trust evaluation on the Signature token using the configured Signature trust engine.protected void
BaseSAMLSimpleSignatureSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
CheckAndRecordServerTLSEntityAuthenticationtHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
EndpointURLSchemeSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
InResponseToSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.void
MessageLifetimeSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
MessageReplaySecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ReceivedEndpointSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SAMLOutboundProtocolMessageSigningHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.void
SAMLProtocolMessageXMLSignatureSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
BaseSAMLSimpleSignatureSecurityHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
BaseSAMLXMLSignatureSecurityHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected String
SAMLMDClientCertAuthSecurityHandler.getCertificatePresenterEntityID
(MessageContext messageContext) Get the entity ID of the presenter of the client TLS certificate, as will be used for trust evaluation purposes.protected List<Credential>
BaseSAMLSimpleSignatureSecurityHandler.getRequestCredentials
(MessageContext messageContext) Extract any candidate validation credentials from the request and/or message context.private String
InResponseToSecurityHandler.resolveInboundInResponseTo
(MessageContext messageContext) Resolve the inbound inResponseTo ID.private String
InResponseToSecurityHandler.resolveOutboundRequestID
(MessageContext messageContext) Resolve the outbound request ID.protected TrustEngine<Signature>
BaseSAMLXMLSignatureSecurityHandler.resolveTrustEngine
(MessageContext messageContext) Resolve a TrustEngine instance of the appropriate type from the message context.protected abstract boolean
BaseSAMLSimpleSignatureSecurityHandler.ruleHandles
(MessageContext messageContext) Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message context.protected void
SAMLMDClientCertAuthSecurityHandler.setAuthenticatedCertificatePresenterEntityID
(MessageContext messageContext, String entityID) Store the successfully authenticated derived entity ID of the certificate presenter in the message context.protected void
SAMLMDClientCertAuthSecurityHandler.setAuthenticatedState
(MessageContext messageContext, boolean authenticated) Store the indicated message authentication state in the message context.Method parameters in org.opensaml.saml.common.binding.security.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
CheckAndRecordServerTLSEntityAuthenticationtHandler.setEntityIDLookup
(ContextDataLookupFunction<MessageContext, String> strategy) Set the strategy function for resolving the authenticated entityID.void
CheckAndRecordServerTLSEntityAuthenticationtHandler.setHttpClientContextLookup
(ContextDataLookupFunction<MessageContext, org.apache.http.client.protocol.HttpClientContext> strategy) Set the strategy function for resolving theto evaluate
. -
Uses of MessageContext in org.opensaml.saml.common.messaging
Methods in org.opensaml.saml.common.messaging with parameters of type MessageContextModifier and TypeMethodDescriptionstatic SignatureSigningParameters
SAMLMessageSecuritySupport.getContextSigningParameters
(MessageContext messageContext) Get the signing parameters from the message context.static void
SAMLMessageSecuritySupport.signMessage
(MessageContext messageContext) Signs the SAML message represented in the message context if it is aSignableXMLObject
and the message context contains signing parameters as determined bySAMLMessageSecuritySupport.getContextSigningParameters(MessageContext)
. -
Uses of MessageContext in org.opensaml.saml.common.messaging.logic
Methods in org.opensaml.saml.common.messaging.logic with parameters of type MessageContextModifier and TypeMethodDescriptionboolean
ProxiedRequesterPredicate.test
(MessageContext input) boolean
SignatureCapableBindingPredicate.test
(MessageContext input) -
Uses of MessageContext in org.opensaml.saml.common.messaging.soap
Fields in org.opensaml.saml.common.messaging.soap with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
CriteriaSet> SAMLSOAPClientContextBuilder.tlsCriteriaSetStrategy
TLS CriteriaSet strategy.Methods in org.opensaml.saml.common.messaging.soap that return types with arguments of type MessageContextModifier and TypeMethodDescriptionSAMLSOAPClientContextBuilder.getTLSCriteriaSetStrategy()
Get the TLS CriteriaSet strategy.Methods in org.opensaml.saml.common.messaging.soap with parameters of type MessageContextModifier and TypeMethodDescriptionSAMLSOAPClientContextBuilder.DefaultTLSCriteriaSetStrategy.apply
(MessageContext messageContext) Method parameters in org.opensaml.saml.common.messaging.soap with type arguments of type MessageContextModifier and TypeMethodDescriptionSAMLSOAPClientContextBuilder.setTLSCriteriaSetStrategy
(Function<MessageContext, CriteriaSet> strategy) Set the TLS CriteriaSet strategy. -
Uses of MessageContext in org.opensaml.saml.saml1.binding.artifact
Methods in org.opensaml.saml.saml1.binding.artifact with parameters of type MessageContextModifier and TypeMethodDescriptionSAML1ArtifactBuilder.buildArtifact
(MessageContext requestContext, Assertion assertion) Builds an artifact, for the given assertion, destined for the outbound message recipient.SAML1ArtifactType0001Builder.buildArtifact
(MessageContext requestContext, Assertion assertion) Builds an artifact, for the given assertion, destined for the outbound message recipient.SAML1ArtifactType0002Builder.buildArtifact
(MessageContext requestContext, Assertion assertion) Builds an artifact, for the given assertion, destined for the outbound message recipient.protected String
SAML1ArtifactType0002Builder.getArsEndpointUrl
(MessageContext requestContext) Gets the index of the source artifact resolution service.protected SAMLArtifactContext
SAML1ArtifactType0001Builder.getArtifactContext
(MessageContext requestContext) Get the artifact context.protected SAMLArtifactContext
SAML1ArtifactType0002Builder.getArtifactContext
(MessageContext requestContext) Get the artifact context.protected String
SAML1ArtifactType0001Builder.getSourceEntityId
(MessageContext requestContext) Get the local entityId. -
Uses of MessageContext in org.opensaml.saml.saml1.binding.decoding.impl
Methods in org.opensaml.saml.saml1.binding.decoding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
HTTPArtifactDecoder.decodeTarget
(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) Decodes the TARGET parameter and adds it to the message context.protected void
HTTPArtifactDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HttpClientResponseSOAP11Decoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPPostDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPSOAP11Decoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPArtifactDecoder.processArtifacts
(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) Process the incoming artifacts by decoding the artifacts, dereferencing them from the artifact source and storing the resulting response (with assertions) in the message context. -
Uses of MessageContext in org.opensaml.saml.saml1.binding.encoding.impl
Methods in org.opensaml.saml.saml1.binding.encoding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected URI
BaseSAML1MessageEncoder.getEndpointURL
(MessageContext messageContext) Gets the response URL from the message context.private String
HTTPArtifactEncoder.getInboundMessageIssuer
(MessageContext messageContext) Get the requester.private String
HTTPArtifactEncoder.getOutboundMessageIssuer
(MessageContext messageContext) Get the outbound message issuer.private byte[]
HTTPArtifactEncoder.getSAMLArtifactType
(MessageContext messageContext) Get the SAML artifact type from the message context.protected void
HTTPPostEncoder.postEncode
(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport.private void
HTTPArtifactEncoder.storeSAMLArtifactType
(MessageContext messageContext, byte[] artifactType) Store the SAML artifact type in the message context. -
Uses of MessageContext in org.opensaml.saml.saml1.binding.impl
Methods in org.opensaml.saml.saml1.binding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
SAML1ArtifactRequestIssuerHandler.doInvoke
(MessageContext messageContext) Performs the handler logic. -
Uses of MessageContext in org.opensaml.saml.saml2.binding.artifact
Methods in org.opensaml.saml.saml2.binding.artifact with parameters of type MessageContextModifier and TypeMethodDescriptionSAML2ArtifactBuilder.buildArtifact
(MessageContext requestContext) Builds an artifact, for the given assertion, destined for the outbound message recipient.SAML2ArtifactType0004Builder.buildArtifact
(MessageContext requestContext) Builds an artifact, for the given assertion, destined for the outbound message recipient.protected Integer
SAML2ArtifactType0004Builder.getArsEndpointIndex
(MessageContext requestContext) Gets the index of the source artifact resolution service.protected SAMLArtifactContext
SAML2ArtifactType0004Builder.getArtifactContext
(MessageContext requestContext) Get the artifact context.protected String
SAML2ArtifactType0004Builder.getSourceEntityId
(MessageContext requestContext) Get the local entityId. -
Uses of MessageContext in org.opensaml.saml.saml2.binding.decoding.impl
Methods in org.opensaml.saml.saml2.binding.decoding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
HTTPArtifactDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HttpClientResponseSOAP11Decoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPPostDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPPostSimpleSignDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPRedirectDeflateDecoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.protected void
HTTPSOAP11Decoder.populateBindingContext
(MessageContext messageContext) Populate the context which carries information specific to this binding.private void
HTTPArtifactDecoder.processArtifact
(MessageContext messageContext, javax.servlet.http.HttpServletRequest request) Process the incoming artifact by decoding the artifacts, dereferencing it from the artifact issuer and storing the resulting protocol message in the message context. -
Uses of MessageContext in org.opensaml.saml.saml2.binding.encoding.impl
Methods in org.opensaml.saml.saml2.binding.encoding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected SAML2Artifact
HTTPArtifactEncoder.buildArtifact
(MessageContext messageContext) Builds the SAML 2 artifact for the outgoing message.protected String
HTTPPostSimpleSignEncoder.buildFormDataToSign
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String sigAlgURI) Build the form control data string over which the signature is computed.protected String
HTTPRedirectDeflateEncoder.buildRedirectURL
(MessageContext messageContext, String endpoint, String message) Builds the URL to redirect the client to.protected URI
BaseSAML2MessageEncoder.getEndpointURL
(MessageContext messageContext) Gets the response URL from the message context.private String
HTTPArtifactEncoder.getInboundMessageIssuer
(MessageContext messageContext) Get the requester.private String
HTTPArtifactEncoder.getOutboundMessageIssuer
(MessageContext messageContext) Get the outbound message issuer.private byte[]
HTTPArtifactEncoder.getSAMLArtifactType
(MessageContext messageContext) Get the SAML artifact type from the message context.protected void
HTTPPostEncoder.populateVelocityContext
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String endpointURL) Populate the Velocity context instance which will be used to render the POST body.protected void
HTTPPostSimpleSignEncoder.populateVelocityContext
(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String endpointURL) Populate the Velocity context instance which will be used to render the POST body.protected void
HTTPPostEncoder.postEncode
(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport.private void
HTTPArtifactEncoder.storeSAMLArtifactType
(MessageContext messageContext, byte[] artifactType) Store the SAML artifact type in the message context. -
Uses of MessageContext in org.opensaml.saml.saml2.binding.impl
Fields in org.opensaml.saml.saml2.binding.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
SAMLConsentContext> AddConsentToResponseHandler.consentContextStrategy
Strategy for locatingSAMLConsentContext
.private Function<MessageContext,
SAMLConsentContext> ExtractConsentFromRequestHandler.consentContextStrategy
Strategy for locatingSAMLConsentContext
.ExtractProxiedRequestersHandler.proxiedContextCreationStrategy
Strategy for creatingProxiedRequesterContext
.Methods in org.opensaml.saml.saml2.binding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
AddConsentToResponseHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddECPResponseHeaderHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddGeneratedKeyHeaderHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddRelayStateHeaderHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddRequestAuthenticatedHeaderHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ExtractConsentFromRequestHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ExtractProxiedRequestersHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
AddECPResponseHeaderHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
AddGeneratedKeyHeaderHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
AddRelayStateHeaderHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
AddRequestAuthenticatedHeaderHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.Method parameters in org.opensaml.saml.saml2.binding.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AddConsentToResponseHandler.setConsentContextLookupStrategy
(Function<MessageContext, SAMLConsentContext> strategy) Set the strategy for locatingSAMLConsentContext
.void
ExtractConsentFromRequestHandler.setConsentContextLookupStrategy
(Function<MessageContext, SAMLConsentContext> strategy) Set the strategy for locatingSAMLConsentContext
.void
ExtractProxiedRequestersHandler.setProxiedRequesterContextCreationStrategy
(Function<MessageContext, ProxiedRequesterContext> strategy) Set the strategy for creatingProxiedRequesterContext
. -
Uses of MessageContext in org.opensaml.saml.saml2.binding.security.impl
Methods in org.opensaml.saml.saml2.binding.security.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
ExtractChannelBindingsExtensionsHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ExtractChannelBindingsHeadersHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.void
SAML2AuthnRequestsSignedSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
ExtractChannelBindingsExtensionsHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected List<Credential>
SAML2HTTPPostSimpleSignSecurityHandler.getRequestCredentials
(MessageContext samlContext) Extract any candidate validation credentials from the request and/or message context.protected boolean
SAML2AuthnRequestsSignedSecurityHandler.isMessageSigned
(MessageContext messageContext) Determine whether the inbound message is signed.protected boolean
SAML2HTTPPostSimpleSignSecurityHandler.ruleHandles
(MessageContext messageContext) Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message context.protected boolean
SAML2HTTPRedirectDeflateSignatureSecurityHandler.ruleHandles
(MessageContext messgaeContext) Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message context. -
Uses of MessageContext in org.opensaml.saml.saml2.profile.impl
Fields in org.opensaml.saml.saml2.profile.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
String> DefaultAssertionValidationContextBuilder.DefaultValidInResponseToLookupFunction.delegate
The lookup delegate.private Function<MessageContext,
String> DefaultAssertionValidationContextBuilder.DefaultValidIssuersLookupFunction.delegate
The lookup delegate.Methods in org.opensaml.saml.saml2.profile.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
DefaultAssertionValidationContextBuilder.populateSignatureCriteriaFromInboundContext
(CriteriaSet criteriaSet, MessageContext inboundContext) Populate signature criteria from the specifiedMessageContext
. -
Uses of MessageContext in org.opensaml.saml.saml2.wssecurity.messaging.impl
Fields in org.opensaml.saml.saml2.wssecurity.messaging.impl declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContext
SAML20AssertionTokenValidationInput.messageContext
The message context input.Fields in org.opensaml.saml.saml2.wssecurity.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionWSSecuritySAML20AssertionTokenSecurityHandler.assertionValidatorLookup
The SAML 2.0 Assertion validator lookup function, may be null.private Function<Pair<MessageContext,
Assertion>, CriteriaSet> DefaultSAML20AssertionValidationContextBuilder.signatureCriteriaSetFunction
A function for resolving the signature validation CriteriaSet for a particular function.Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl that return MessageContextModifier and TypeMethodDescriptionSAML20AssertionTokenValidationInput.getMessageContext()
Get theMessageContext
input.Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl that return types with arguments of type MessageContextModifier and TypeMethodDescriptionWSSecuritySAML20AssertionTokenSecurityHandler.getAssertionValidatorLookup()
Get the Assertion validator lookup function.DefaultSAML20AssertionValidationContextBuilder.getSignatureCriteriaSetFunction()
Get the function for resolving the signature validation CriteriaSet for a particular function.Methods in org.opensaml.saml.saml2.wssecurity.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected ValidationContext
WSSecuritySAML20AssertionTokenSecurityHandler.buildValidationContext
(MessageContext messageContext, Assertion assertion) Build the Assertion ValidationContext.protected void
WSSecuritySAML20AssertionTokenSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
WSSecuritySAML20AssertionTokenSecurityHandler.processResult
(ValidationContext validationContext, ValidationResult validationResult, SAML20AssertionToken token, MessageContext messageContext) Process the result of the token validation.WSSecuritySAML20AssertionTokenSecurityHandler.resolveAssertions
(MessageContext messageContext) Resolve the SAML 2.0 Assertions token from the SOAP envelope.protected SAML20AssertionValidator
WSSecuritySAML20AssertionTokenSecurityHandler.resolveValidator
(MessageContext messageContext, Assertion assertion) Resolve the Assertion token validator to use with the specified Assertion.Method parameters in org.opensaml.saml.saml2.wssecurity.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
WSSecuritySAML20AssertionTokenSecurityHandler.setAssertionValidatorLookup
(Function<Pair<MessageContext, Assertion>, SAML20AssertionValidator> function) Set the Assertion validator lookup function.void
DefaultSAML20AssertionValidationContextBuilder.setSignatureCriteriaSetFunction
(Function<Pair<MessageContext, Assertion>, CriteriaSet> function) Set the function for resolving the signature validation CriteriaSet for a particular function.Constructors in org.opensaml.saml.saml2.wssecurity.messaging.impl with parameters of type MessageContextModifierConstructorDescriptionSAML20AssertionTokenValidationInput
(MessageContext context, javax.servlet.http.HttpServletRequest request, Assertion samlAssertion) Constructor. -
Uses of MessageContext in org.opensaml.security.messaging
Fields in org.opensaml.security.messaging with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
CriteriaSet> HttpClientSecurityContext.tlsCriteriaSetStrategy
TLS criteria strategy function.Methods in org.opensaml.security.messaging that return types with arguments of type MessageContextModifier and TypeMethodDescriptionHttpClientSecurityContext.getTLSCriteriaSetStrategy()
Get the TLS criteria strategy function.Method parameters in org.opensaml.security.messaging with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
HttpClientSecurityContext.setTLSCriteriaSetStrategy
(Function<MessageContext, CriteriaSet> strategy) Set the TLS criteria strategy function. -
Uses of MessageContext in org.opensaml.security.messaging.impl
Fields in org.opensaml.security.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Predicate<MessageContext>
PopulateHttpClientSecurityParametersHandler.clientTLSPredicate
Predicate which determines whether clientTLS credentials should be included in the resolved parameters.PopulateHttpClientSecurityParametersHandler.configurationLookupStrategy
Strategy used to look up a per-requestHttpClientSecurityConfiguration
list.PopulateHttpClientSecurityParametersHandler.existingParametersContextLookupStrategy
Strategy used to look up an existingHttpClientSecurityContext
to copy.PopulateHttpClientSecurityParametersHandler.securityParametersContextLookupStrategy
Strategy used to look up theHttpClientSecurityContext
to set the parameters for.Methods in org.opensaml.security.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected CriteriaSet
BaseClientCertAuthSecurityHandler.buildCriteriaSet
(String entityID, MessageContext messageContext) Subclasses are required to implement this method to build a criteria set for the trust engine according to trust engine and application-specific needs.protected abstract CriteriaSet
BaseTrustEngineSecurityHandler.buildCriteriaSet
(String entityID, MessageContext messageContext) Subclasses are required to implement this method to build a criteria set for the trust engine according to trust engine and application-specific needs.protected void
BaseClientCertAuthSecurityHandler.doEvaluate
(X509Credential requestCredential, MessageContext messageContext) Evaluate the request credential.protected void
BaseClientCertAuthSecurityHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
PopulateHttpClientSecurityParametersHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
BaseClientCertAuthSecurityHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
BaseTrustEngineSecurityHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
PopulateHttpClientSecurityParametersHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
BaseTrustEngineSecurityHandler.evaluate
(TokenType token, String entityID, MessageContext messageContext) Evaluate the token using the configured trust engine against criteria built using the specified candidate issuer entity ID and message context information.protected String
BaseClientCertAuthSecurityHandler.evaluateCertificateNameDerivedPresenters
(X509Credential requestCredential, MessageContext messageContext) Evaluate candidate presenter entity ID's which may be derived from the request credential's entity certificate according to the options supplied viaCertificateNameOptions
.protected String
BaseClientCertAuthSecurityHandler.evaluateDerivedPresenters
(X509Credential requestCredential, MessageContext messageContext) Evaluate any candidate presenter entity ID's which may be derived from the credential or other message context information.protected String
BaseClientCertAuthSecurityHandler.evaluateSubjectAltNames
(X509Credential requestCredential, MessageContext messageContext) Evaluate the presenter entity ID as derived from the cert subject alternative names specified by types enumerated inCertificateNameOptions.getSubjectAltNames()
.protected String
BaseClientCertAuthSecurityHandler.evaluateSubjectCommonName
(X509Credential requestCredential, MessageContext messageContext) Evaluate the presenter entity ID as derived from the cert subject common name (CN).protected String
BaseClientCertAuthSecurityHandler.evaluateSubjectDN
(X509Credential requestCredential, MessageContext messageContext) Evaluate the presenter entity ID as derived from the cert subject DN.protected abstract String
BaseClientCertAuthSecurityHandler.getCertificatePresenterEntityID
(MessageContext messageContext) Get the entity ID of the presenter of the client TLS certificate, as will be used for trust evaluation purposes.protected void
PopulateHttpClientSecurityParametersHandler.postProcessParams
(MessageContext messageContext, HttpClientSecurityParameters params) Post-process the resolved parameters.protected TrustEngine<? super X509Credential>
BaseClientCertAuthSecurityHandler.resolveTrustEngine
(MessageContext messageContext) Resolve a TrustEngine instance of the appropriate type from the message context.protected abstract TrustEngine<? super TokenType>
BaseTrustEngineSecurityHandler.resolveTrustEngine
(MessageContext messageContext) Resolve a TrustEngine instance of the appropriate type from the message context.protected abstract void
BaseClientCertAuthSecurityHandler.setAuthenticatedCertificatePresenterEntityID
(MessageContext messageContext, String entityID) Store the successfully authenticated derived entity ID of the certificate presenter in the message context.protected abstract void
BaseClientCertAuthSecurityHandler.setAuthenticatedState
(MessageContext messageContext, boolean authenticated) Store the indicated message authentication state in the message context.Method parameters in org.opensaml.security.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
PopulateHttpClientSecurityParametersHandler.setClientTLSPredicate
(Predicate<MessageContext> predicate) Set the predicate which determines whether clientTLS credentials should be included in the resolved parameters.void
PopulateHttpClientSecurityParametersHandler.setConfigurationLookupStrategy
(Function<MessageContext, List<HttpClientSecurityConfiguration>> strategy) Set the strategy used to look up a per-requestHttpClientSecurityConfiguration
list.void
PopulateHttpClientSecurityParametersHandler.setExistingParametersContextLookupStrategy
(Function<MessageContext, HttpClientSecurityContext> strategy) Set the strategy used to look up an existingHttpClientSecurityContext
to copy instead of actually resolving the parameters to set.void
PopulateHttpClientSecurityParametersHandler.setSecurityParametersContextLookupStrategy
(Function<MessageContext, HttpClientSecurityContext> strategy) Set the strategy used to look up theHttpClientSecurityContext
to set the parameters for. -
Uses of MessageContext in org.opensaml.soap.client.http
Fields in org.opensaml.soap.client.http with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
SOAP11Context> HttpSOAPClient.soap11ContextLookupStrategy
Strategy used to look up theSOAP11Context
associated with the outbound message context.private Function<MessageContext,
SOAPClientContext> HttpSOAPClient.soapClientContextLookupStrategy
Strategy used to look up theSOAPClientContext
associated with the outbound message context.Methods in org.opensaml.soap.client.http that return types with arguments of type MessageContextModifier and TypeMethodDescriptionHttpSOAPClient.getSOAP11ContextLookupStrategy()
Get the strategy used to look up theSOAP11Context
associated with the outbound message context.HttpSOAPClient.getSOAPClientContextLookupStrategy()
Get the strategy used to look up theSOAPClientContext
associated with the outbound message context.Method parameters in org.opensaml.soap.client.http with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
HttpSOAPClient.setSOAP11ContextLookupStrategy
(Function<MessageContext, SOAP11Context> strategy) Set the strategy used to look up theSOAP11Context
associated with the outbound message context.void
HttpSOAPClient.setSOAPClientContextLookupStrategy
(Function<MessageContext, SOAPClientContext> strategy) Set the strategy used to look up theSOAPClientContext
associated with the outbound message context. -
Uses of MessageContext in org.opensaml.soap.client.messaging
Fields in org.opensaml.soap.client.messaging with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Map<String,
Function<MessageContext, T>> SOAPClientPipelineNameMappingFunction.delegateMap
Map of pipeline names to delegate predicates.private Map<String,
Predicate<MessageContext>> SOAPClientPipelineNameMappingPredicate.delegateMap
Map of pipeline names to delegate predicates.private Function<MessageContext,
SOAPClientContext> SOAPClientPipelineNameMappingFunction.soapClientContextLookup
Lookup strategy for the SOAP client context.private Function<MessageContext,
SOAPClientContext> SOAPClientPipelineNameMappingPredicate.soapClientContextLookup
Lookup strategy for the SOAP client context.Methods in org.opensaml.soap.client.messaging with parameters of type MessageContextModifier and TypeMethodDescriptionSOAPClientDestinationURILookup.apply
(MessageContext messageContext) SOAPClientPipelineNameMappingFunction.apply
(MessageContext input) boolean
SOAPClientPipelineNameMappingPredicate.test
(MessageContext input) Constructor parameters in org.opensaml.soap.client.messaging with type arguments of type MessageContextModifierConstructorDescriptionConstructor.SOAPClientPipelineNameMappingFunction
(Map<String, Function<MessageContext, T>> mappings, ContextDataLookupFunction<MessageContext, SOAPClientContext> lookupStrategy) Constructor.SOAPClientPipelineNameMappingFunction
(Map<String, Function<MessageContext, T>> mappings, ContextDataLookupFunction<MessageContext, SOAPClientContext> lookupStrategy) Constructor.Constructor.SOAPClientPipelineNameMappingPredicate
(Map<String, Predicate<MessageContext>> mappings, ContextDataLookupFunction<MessageContext, SOAPClientContext> lookupStrategy) Constructor.SOAPClientPipelineNameMappingPredicate
(Map<String, Predicate<MessageContext>> mappings, ContextDataLookupFunction<MessageContext, SOAPClientContext> lookupStrategy) Constructor. -
Uses of MessageContext in org.opensaml.soap.client.security
Fields in org.opensaml.soap.client.security with type parameters of type MessageContextModifier and TypeFieldDescriptionSOAPClientSecurityProfileIdLookupFunction.soapContextLookup
Lookup function forSOAPClientSecurityContext
.Methods in org.opensaml.soap.client.security with parameters of type MessageContextModifier and TypeMethodDescriptionSOAPClientSecurityProfileIdLookupFunction.apply
(MessageContext messageContext) Method parameters in org.opensaml.soap.client.security with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
SOAPClientSecurityProfileIdLookupFunction.setSOAPClientSecurityContextLookup
(Function<MessageContext, SOAPClientSecurityContext> lookup) Set lookup function for forSOAPClientSecurityContext
. -
Uses of MessageContext in org.opensaml.soap.messaging
Fields in org.opensaml.soap.messaging with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Predicate<MessageContext>
AbstractHeaderGeneratingMessageHandler.mustUnderstandStrategy
Predicate strategy for evaluating mustUnderstand from the message context.private Function<MessageContext,
String> AbstractHeaderGeneratingMessageHandler.targetNodeStrategy
Function strategy for resolving target node from the message context.Methods in org.opensaml.soap.messaging with parameters of type MessageContextModifier and TypeMethodDescriptionstatic void
SOAPMessagingSupport.addHeaderBlock
(MessageContext messageContext, XMLObject headerBlock) Add a header block to the SOAP envelope contained within the specified message context's SOAP subcontext.static void
SOAPMessagingSupport.addMustUnderstand
(MessageContext messageContext, XMLObject headerBlock, boolean mustUnderstand) Add whether the specified header block is indicated as mustUnderstand.static void
SOAPMessagingSupport.addTargetNode
(MessageContext messageContext, XMLObject headerBlock, String targetNode) Add the target node info to the header block, eithersoap11:actor
, orsoap12:role
.static boolean
SOAPMessagingSupport.checkUnderstoodHeader
(MessageContext msgContext, XMLObject header) Check whether a header was understood.static void
SOAPMessagingSupport.clearFault
(MessageContext messageContext) Clear the currently registered SOAP fault, if any.protected void
AbstractHeaderGeneratingMessageHandler.decorateGeneratedHeader
(MessageContext messageContext, XMLObject header) Decorate the header based on configured and/or resolved values.protected boolean
AbstractHeaderGeneratingMessageHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.SOAPMessagingSupport.getHeaderBlock
(MessageContext messageContext, QName headerName, Set<String> targetNodes, boolean isFinalDestination) Get a header block from the SOAP envelope contained within the specified message context's SOAP subcontext.SOAPMessagingSupport.getInboundHeaderBlock
(MessageContext messageContext, QName headerName) Get a header block from the SOAP envelope contained within the specified message context's SOAP subcontext.static InboundSOAPContext
SOAPMessagingSupport.getInboundSOAPContext
(MessageContext messageContext) Get the currentInboundSOAPContext
for the givenMessageContext
.SOAPMessagingSupport.getOutboundHeaderBlock
(MessageContext messageContext, QName headerName) Get a header block from the SOAP envelope contained within the specified message context's SOAP subcontext.static SOAP11Context
SOAPMessagingSupport.getSOAP11Context
(MessageContext messageContext, boolean autoCreate) Get the currentSOAP11Context
for the givenMessageContext
.static Fault
SOAPMessagingSupport.getSOAP11Fault
(MessageContext messageContext) Get the registered SOAP 1.1 fault, if any.static SOAPVersion
SOAPMessagingSupport.getSOAPVersion
(MessageContext messageContext) Determine the SOAP version of the message represented by the message context.static boolean
SOAPMessagingSupport.isMustUnderstand
(MessageContext messageContext, XMLObject headerBlock) Check whether the specified header block is indicated as mustUnderstand == true.static boolean
SOAPMessagingSupport.isSOAP11Message
(MessageContext messageContext) Determine whether the message represented by the message context contains a SOAP 1.1.static boolean
SOAPMessagingSupport.isSOAPMessage
(MessageContext messageContext) Determine whether the message represented by the message context contains a SOAP Envelope.static void
SOAPMessagingSupport.registerSOAP11Fault
(MessageContext messageContext, QName faultCode, String faultString, String faultActor, List<XMLObject> detailChildren, Map<QName, String> detailAttributes) Register a SOAP 1.1.static void
SOAPMessagingSupport.registerSOAP11Fault
(MessageContext messageContext, Fault fault) Register a SOAP 1.1 fault.static void
SOAPMessagingSupport.registerUnderstoodHeader
(MessageContext msgContext, XMLObject header) Register a header as understood.Method parameters in org.opensaml.soap.messaging with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AbstractHeaderGeneratingMessageHandler.setMustUnderstandStrategy
(Predicate<MessageContext> strategy) Set the predicate strategy for evaluating mustUnderstand from the message context.void
AbstractHeaderGeneratingMessageHandler.setTargetNodeStrategy
(Function<MessageContext, String> strategy) Set the predicate strategy for evaluating mustUnderstand from the message context. -
Uses of MessageContext in org.opensaml.soap.soap11.decoder.http.impl
Methods in org.opensaml.soap.soap11.decoder.http.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
EnvelopeBodyHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
SimplePayloadBodyHandler.doInvoke
(MessageContext messageContext) Performs the handler logic. -
Uses of MessageContext in org.opensaml.soap.soap11.messaging.impl
Methods in org.opensaml.soap.soap11.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionboolean
SOAP11FaultContextDecoratingErrorHandler.handleError
(Throwable t, MessageContext messageContext) Handle a particular thrown error. -
Uses of MessageContext in org.opensaml.soap.wsaddressing.messaging.impl
Fields in org.opensaml.soap.wsaddressing.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionAddRelatesToHandler.relatesToURILookup
Optional lookup function for obtaining the RelatesTo URI value.Methods in org.opensaml.soap.wsaddressing.messaging.impl that return types with arguments of type MessageContextModifier and TypeMethodDescriptionAddRelatesToHandler.getRelatesToURILookup()
Get the function for looking up the RelatesTo URI value.Methods in org.opensaml.soap.wsaddressing.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
AddActionHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddMessageIDHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
AddRelatesToHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ExtractMessageIDHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected void
ValidateActionHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
AddActionHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
AddRelatesToHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected boolean
ValidateActionHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected Action
ValidateActionHandler.getAction
(MessageContext messageContext) Get message Action header.protected String
AddMessageIDHandler.getMessageID
(MessageContext messageContext) Get the effective message ID value to issue in the outbound message.protected MessageID
ExtractMessageIDHandler.getMessageID
(MessageContext messageContext) Get message MessageID URI value.Method parameters in org.opensaml.soap.wsaddressing.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AddRelatesToHandler.setRelatesToURILookup
(ContextDataLookupFunction<MessageContext, String> lookup) Set the function for looking up the RelatesTo URI value. -
Uses of MessageContext in org.opensaml.soap.wssecurity.messaging
Methods in org.opensaml.soap.wssecurity.messaging with parameters of type MessageContextModifier and TypeMethodDescriptionstatic void
WSSecurityMessagingSupport.addSecurityHeaderBlock
(MessageContext messageContext, XMLObject securityHeader, boolean mustUnderstand) Add aSecurity
sub-header block to the SOAP envelope contained within the specified message context's SOAP subcontext.static void
WSSecurityMessagingSupport.addSecurityHeaderBlock
(MessageContext messageContext, XMLObject securitySubHeader, boolean mustUnderstand, String targetNode, boolean isFinalDestination) Add aSecurity
sub-header block to the SOAP envelope contained within the specified message context's SOAP subcontext. -
Uses of MessageContext in org.opensaml.soap.wssecurity.messaging.impl
Fields in org.opensaml.soap.wssecurity.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate Function<MessageContext,
Instant> AddTimestampHandler.createdLookup
Context lookup function for the Created time.private Function<MessageContext,
Instant> AddTimestampHandler.expiresLookup
Context lookup function for the Expires time.Methods in org.opensaml.soap.wssecurity.messaging.impl that return types with arguments of type MessageContextModifier and TypeMethodDescriptionAddTimestampHandler.getCreatedLookup()
Get the context lookup function for the Created time.AddTimestampHandler.getExpiresLookup()
Get the context lookup function for the Expires time.Methods in org.opensaml.soap.wssecurity.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
AddTimestampHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.protected boolean
AddTimestampHandler.doPreInvoke
(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected Instant
AddTimestampHandler.getCreatedValue
(MessageContext messageContext) Get the Created value.protected Instant
AddTimestampHandler.getExpiresValue
(MessageContext messageContext, Instant created) Get the Expires value.Method parameters in org.opensaml.soap.wssecurity.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
AddTimestampHandler.setCreatedLookup
(Function<MessageContext, Instant> lookup) Set the context lookup function for the Created time.void
AddTimestampHandler.setExpiresLookup
(Function<MessageContext, Instant> lookup) Set the context lookup function for the Expires time. -
Uses of MessageContext in org.opensaml.xmlsec.messaging.impl
Fields in org.opensaml.xmlsec.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionPopulateSignatureValidationParametersHandler.configurationLookupStrategy
Strategy used to lookup a per-requestSignatureValidationConfiguration
list.PopulateSignatureValidationParametersHandler.securityParametersContextLookupStrategy
Strategy used to look up theSecurityParametersContext
to set the parameters for.Methods in org.opensaml.xmlsec.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected void
PopulateSignatureValidationParametersHandler.doInvoke
(MessageContext messageContext) Performs the handler logic.Method parameters in org.opensaml.xmlsec.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoid
PopulateSignatureValidationParametersHandler.setConfigurationLookupStrategy
(Function<MessageContext, List<SignatureValidationConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureValidationConfiguration
list.void
PopulateSignatureValidationParametersHandler.setSecurityParametersContextLookupStrategy
(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContext
to set the parameters for.