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
BaseContexts.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.
Context classes for SAML-based messaging function.
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 2.0 message encoders.
General message handlers for SAML 2.0.
Security-related message handlers for SAML 2.0.
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.
Message handlers for XML Security functionality.
-
Uses of MessageContext in org.opensaml.messaging.context
Fields in org.opensaml.messaging.context declared as MessageContextModifier and TypeFieldDescriptionprivate MessageContextInOutOperationContext.inboundContextThe inbound message context.private MessageContextInOutOperationContext.outboundContextThe outbound message context.Methods in org.opensaml.messaging.context that return MessageContextModifier and TypeMethodDescriptionInOutOperationContext.ensureInboundMessageContext()Gets the inbound message context, creating an empty one if it does not already exist.InOutOperationContext.ensureOutboundMessageContext()Gets the outbound message context, creating an empty one if it does not already exist.InOutOperationContext.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 TypeMethodDescriptionvoidInOutOperationContext.setInboundMessageContext(MessageContext context) Sets the inbound message context.voidInOutOperationContext.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 MessageContextAbstractMessageDecoder.messageContextMessage 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 voidAbstractMessageDecoder.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 MessageContextAbstractMessageEncoder.messageContextThe message context.Methods in org.opensaml.messaging.encoder that return MessageContextModifier and TypeMethodDescriptionprotected MessageContextAbstractMessageEncoder.getMessageContext()Get the message context.Methods in org.opensaml.messaging.encoder with parameters of type MessageContextModifier and TypeMethodDescriptionvoidAbstractMessageEncoder.setMessageContext(MessageContext context) Set theMessageContextwhich is to be encoded.voidMessageEncoder.setMessageContext(MessageContext messageContext) Set theMessageContextwhich is to be encoded. -
Uses of MessageContext in org.opensaml.messaging.error
Methods in org.opensaml.messaging.error with parameters of type MessageContextModifier and TypeMethodDescriptionbooleanMessageErrorHandler.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.activationConditionCondition 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 voidAbstractMessageHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAbstractMessageHandler.doPostInvoke(MessageContext messageContext) Called after execution, handlers may override this method to perform post-processing for a request.protected voidAbstractMessageHandler.doPostInvoke(MessageContext messageContext, Exception e) Called after execution, handlers may override this method to perform post-processing for a request.protected booleanAbstractMessageHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.voidAbstractMessageHandler.invoke(MessageContext messageContext) Invoke the handler on the specified message context.voidMessageHandler.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 TypeMethodDescriptionvoidAbstractMessageHandler.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.authenticationLookupStrategyStrategy used to look up the authentication state associated with the message context.private Function<MessageContext,String> CheckExpectedIssuer.expectedIssuerLookupStrategyStrategy used to look up the expected issuer associated with the message context.private Function<MessageContext,String> CheckExpectedIssuer.issuerLookupStrategyStrategy used to look up the issuer associated with the message context.private Function<MessageContext,String> CheckMandatoryIssuer.issuerLookupStrategyStrategy used to look up the issuer associated with the message context.private Function<MessageContext,Function<MessageContext, Exception>> FunctionMessageHandler.lookupStrategyTheFunctionto run.private Function<MessageContext,Function<MessageContext, Exception>> FunctionMessageHandler.lookupStrategyTheFunctionto run.private Function<MessageContext,BaseContext> AbstractMessageChannelSecurity.parentContextLookupStrategyStrategy used to look up the parentBaseContexton which theMessageChannelSecurityContextwill be populated.private Function<MessageContext,String> URLEvaluatingMessageChannelSecurity.urlLookupFunction which looks up the URL to evaluate.Methods in org.opensaml.messaging.handler.impl with parameters of type MessageContextModifier and TypeMethodDescriptionvoidBasicMessageHandlerChain.doInvoke(MessageContext msgContext) Performs the handler logic.protected voidCheckExpectedIssuer.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidCheckMandatoryAuthentication.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidCheckMandatoryIssuer.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidFunctionMessageHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidMessageHandlerErrorStrategyAdapter.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSchemaValidateXMLMessage.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidStaticMessageChannelSecurity.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidURLEvaluatingMessageChannelSecurity.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanAbstractMessageChannelSecurity.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanSchemaValidateXMLMessage.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanURLEvaluatingMessageChannelSecurity.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 TypeMethodDescriptionvoidCheckMandatoryAuthentication.setAuthenticationLookupStrategy(Function<MessageContext, Boolean> strategy) Set the strategy used to look up the authentication state associated with the message context.voidCheckExpectedIssuer.setExpectedIssuerLookupStrategy(Function<MessageContext, String> strategy) Set the strategy used to look up the expected issuer associated with the message context.voidFunctionMessageHandler.setFunction(Function<MessageContext, Exception> function) Set theFunctionto use.voidFunctionMessageHandler.setFunctionLookupStrategy(Function<MessageContext, Function<MessageContext, Exception>> strategy) Set a lookup strategy for theFunctionto use.voidFunctionMessageHandler.setFunctionLookupStrategy(Function<MessageContext, Function<MessageContext, Exception>> strategy) Set a lookup strategy for theFunctionto use.voidCheckExpectedIssuer.setIssuerLookupStrategy(Function<MessageContext, String> strategy) Set the strategy used to look up the issuer associated with the message context.voidCheckMandatoryIssuer.setIssuerLookupStrategy(Function<MessageContext, String> strategy) Set the strategy used to look up the issuer associated with the message context.voidAbstractMessageChannelSecurity.setParentContextLookupStrategy(Function<MessageContext, BaseContext> strategy) Set the strategy used to look up the parentBaseContexton which theMessageChannelSecurityContextwill be populated.voidURLEvaluatingMessageChannelSecurity.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 TypeMethodDescriptionbooleanNoConfidentialityMessageChannelPredicate.test(MessageContext input) booleanNoIntegrityMessageChannelPredicate.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.messageContextLookupLookup function for the message context on which to operate.private static final ParentProfileRequestContextLookup<MessageContext>AbstractHandlerDelegatingProfileAction.PRC_LOOKUPLookup 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 aProfileRequestContextfunction to aMessageContextfunction via composing with a lookup function.protected Predicate<MessageContext>AbstractHandlerDelegatingProfileAction.adapt(Predicate<ProfileRequestContext> predicate) Adapt aProfileRequestContextpredicate into aMessageContextpredicate via composing with a lookup function.protected <T> Function<MessageContext,T> AbstractHandlerDelegatingProfileAction.adaptRequired(Function<ProfileRequestContext, T> function) Adapt aProfileRequestContextfunction to aMessageContextfunction via composing with a lookup function, disallowing nulls.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 MessageContextEncodeMessage.msgContextThe 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_LOOKUPThe lookup function for the ProfileRequestContext.Methods in org.opensaml.profile.logic with parameters of type MessageContextModifier and TypeMethodDescriptionbooleanMessageContextPredicateAdapter.test(MessageContext input) -
Uses of MessageContext in org.opensaml.profile.testing
Methods in org.opensaml.profile.testing that return MessageContextModifier and TypeMethodDescriptionprotected MessageContextRequestContextBuilder.buildInboundMessageContext()Builds a inboundMessageContext.protected MessageContextRequestContextBuilder.buildOutboundMessageContext()Builds a outboundMessageContext. -
Uses of MessageContext in org.opensaml.saml.common.binding
Methods in org.opensaml.saml.common.binding with parameters of type MessageContextModifier and TypeMethodDescriptionstatic StringSAMLBindingSupport.getActualReceiverEndpointURI(MessageContext messageContext, HttpServletRequest request) Extract the transport endpoint URI at which this message was received.static URISAMLBindingSupport.getEndpointURL(MessageContext messageContext) Get the response URL from the relying party endpoint.static StringSAMLBindingSupport.getIntendedDestinationEndpointURI(MessageContext messageContext) Extract the message information which indicates to what receiver endpoint URI the SAML message was intended to be delivered.static StringSAMLBindingSupport.getRelayState(MessageContext messageContext) Get the SAML protocol relay state from a message context.static booleanSAMLBindingSupport.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 booleanSAMLBindingSupport.isMessageSigned(MessageContext messageContext) Determine whether the SAML message represented by the message context is digitally signed.static booleanSAMLBindingSupport.isMessageSigned(MessageContext messageContext, boolean presenceSatisfies) Determine whether the SAML message represented by the message context is digitally signed.static booleanSAMLBindingSupport.isSigningCapableBinding(MessageContext messageContext) Determine whether the SAML binding to be used by the message context supports signatures at the binding layer.static voidSAMLBindingSupport.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.authnRequestLookupStrategyLookup strategy for anAuthnRequestindex.private Function<MessageContext,ChannelBindingsContext> AddChannelBindingsHeaderHandler.channelBindingsContextLookupStrategyStrategy used to locate theChannelBindingsContextto operate on.PopulateSignatureSigningParametersHandler.configurationLookupStrategyStrategy used to look up a per-requestSignatureSigningConfigurationlist.private ContextDataLookupFunction<MessageContext,? extends BaseContext> SAMLProtocolAndRoleHandler.copyContextLookupOptional 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.copyContextStrategyOptional strategy for resolving an existing metadata context from which to copy data.PopulateSignatureSigningParametersHandler.existingParametersContextLookupStrategyStrategy used to look up an existingSecurityParametersContextto copy.private Function<MessageContext,SAMLMetadataContext> PopulateSignatureSigningParametersHandler.metadataContextLookupStrategyStrategy used to look up a SAML metadata context.private Function<MessageContext,SAMLMetadataContext> SAMLAddAttributeConsumingServiceHandler.metadataContextLookupStrategyLookup strategy forSAMLMetadataContext.private Function<MessageContext,ProfileRequestContext> SAMLMetadataLookupHandler.profileRequestContextLookupStrategyOptional but defaulted strategy for locating a PRC.PopulateSignatureSigningParametersHandler.securityParametersContextLookupStrategyStrategy used to look up theSecurityParametersContextto set the parameters for.Methods in org.opensaml.saml.common.binding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionSAMLAddAttributeConsumingServiceHandler.AuthnRequestLookup.apply(MessageContext input) protected CriteriaSetSAMLMetadataLookupHandler.buildLookupCriteria(MessageContext messageContext, String entityID, QName role) Build the lookup criteria from the message context data.protected voidAddChannelBindingsHeaderHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidCheckMessageVersionHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidPopulateSignatureSigningParametersHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLAddAttributeConsumingServiceHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLMetadataLookupHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLOutboundDestinationHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLProtocolAndRoleHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLSOAPDecoderBodyHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanAddChannelBindingsHeaderHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanPopulateSignatureSigningParametersHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanSAMLAddAttributeConsumingServiceHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected Collection<RequestedAttribute>SAMLAddAttributeConsumingServiceHandler.getRequestedAttributes(MessageContext messageContext, AuthnRequest authn) Grab theRequestedAttribute(if any) from theAuthnRequest.protected SAMLMetadataContextSAMLMetadataLookupHandler.resolveExisting(MessageContext messageContext, String entityID, QName role) Attempt to resolve an existingSAMLMetadataContextfrom which to copy.Method parameters in org.opensaml.saml.common.binding.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidAddChannelBindingsHeaderHandler.setChannelBindingsContextLookupStrategy(Function<MessageContext, ChannelBindingsContext> strategy) Set the strategy used to locate theChannelBindingsContextto operate on.voidPopulateSignatureSigningParametersHandler.setConfigurationLookupStrategy(Function<MessageContext, List<SignatureSigningConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureSigningConfigurationlist.voidSAMLProtocolAndRoleHandler.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.voidSAMLMetadataLookupHandler.setCopyContextStrategy(Function<MessageContext, SAMLMetadataContext> strategy) Set the optional strategy for resolving an existing metadata context from which to copy data.voidPopulateSignatureSigningParametersHandler.setExistingParametersContextLookupStrategy(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up an existingSecurityParametersContextto copy instead of actually resolving the parameters to set.voidSAMLAddAttributeConsumingServiceHandler.setIndexLookupStrategy(Function<MessageContext, AuthnRequest> strategy) Set the strategy to locate theAttributeConsumingServiceindex from theMessageContext.voidPopulateSignatureSigningParametersHandler.setMetadataContextLookupStrategy(Function<MessageContext, SAMLMetadataContext> strategy) Set lookup strategy forSAMLMetadataContextfor input to resolution.voidSAMLAddAttributeConsumingServiceHandler.setMetadataContextLookupStrategy(Function<MessageContext, SAMLMetadataContext> strategy) Set the strategy to locate theSAMLMetadataContextfrom theMessageContext.voidSAMLMetadataLookupHandler.setProfileRequestContextLookupStrategy(Function<MessageContext, ProfileRequestContext> strategy) Set optional lookup strategy for locatingProfileRequestContext.voidPopulateSignatureSigningParametersHandler.setSecurityParametersContextLookupStrategy(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContextto 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.entityIDLookupThe strategy function for resolving the authenticated entityID.private ContextDataLookupFunction<MessageContext,org.apache.hc.client5.http.protocol.HttpClientContext> CheckAndRecordServerTLSEntityAuthenticationtHandler.httpClientContextLookupThe strategy function for resolving theto evaluate.OperationContextEntityIDLookup.parentLookupParent operation context lookup function.Methods in org.opensaml.saml.common.binding.security.impl with parameters of type MessageContextModifier and TypeMethodDescriptionorg.apache.hc.client5.http.protocol.HttpClientContextCheckAndRecordServerTLSEntityAuthenticationtHandler.DefaultHttpClientContextLookup.apply(MessageContext messageContext) OperationContextEntityIDLookup.apply(MessageContext messageContext) protected CriteriaSetBaseSAMLSimpleSignatureSecurityHandler.buildCriteriaSet(String entityID, MessageContext messageContext) Build a criteria set suitable for input to the trust engine.protected CriteriaSetBaseSAMLXMLSignatureSecurityHandler.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 CriteriaSetSAMLMDClientCertAuthSecurityHandler.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 voidReceivedEndpointSecurityHandler.checkEndpointURI(MessageContext messageContext, URIComparator comparator) Check the validity of the SAML protocol message receiver endpoint against requirements indicated in the message.protected StringBaseSAMLSimpleSignatureSecurityHandler.deriveSignerEntityID(MessageContext messageContext) Derive the signer's entity ID from the message context.private voidBaseSAMLSimpleSignatureSecurityHandler.doEvaluate(byte[] signature, byte[] signedContent, String algorithmURI, MessageContext messageContext) Evaluate the simple signature based on information in the request and/or message context.protected voidSAMLProtocolMessageXMLSignatureSecurityHandler.doEvaluate(Signature signature, SignableSAMLObject signableObject, MessageContext messageContext) Perform cryptographic validation and trust evaluation on the Signature token using the configured Signature trust engine.protected voidBaseSAMLSimpleSignatureSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidCheckAndRecordServerTLSEntityAuthenticationtHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidEndpointURLSchemeSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidInResponseToSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.voidMessageLifetimeSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidMessageReplaySecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidReceivedEndpointSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSAMLOutboundProtocolMessageSigningHandler.doInvoke(MessageContext messageContext) Performs the handler logic.voidSAMLProtocolMessageXMLSignatureSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanBaseSAMLSimpleSignatureSecurityHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanBaseSAMLXMLSignatureSecurityHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected StringSAMLMDClientCertAuthSecurityHandler.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 StringInResponseToSecurityHandler.resolveInboundInResponseTo(MessageContext messageContext) Resolve the inbound inResponseTo ID.private StringInResponseToSecurityHandler.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 booleanBaseSAMLSimpleSignatureSecurityHandler.ruleHandles(MessageContext messageContext) Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message context.protected voidSAMLMDClientCertAuthSecurityHandler.setAuthenticatedCertificatePresenterEntityID(MessageContext messageContext, String entityID) Store the successfully authenticated derived entity ID of the certificate presenter in the message context.protected voidSAMLMDClientCertAuthSecurityHandler.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 TypeMethodDescriptionvoidCheckAndRecordServerTLSEntityAuthenticationtHandler.setEntityIDLookup(ContextDataLookupFunction<MessageContext, String> strategy) Set the strategy function for resolving the authenticated entityID.voidCheckAndRecordServerTLSEntityAuthenticationtHandler.setHttpClientContextLookup(ContextDataLookupFunction<MessageContext, org.apache.hc.client5.http.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 SignatureSigningParametersSAMLMessageSecuritySupport.getContextSigningParameters(MessageContext messageContext) Get the signing parameters from the message context.static voidSAMLMessageSecuritySupport.signMessage(MessageContext messageContext) Signs the SAML message represented in the message context if it is aSignableXMLObjectand the message context contains signing parameters as determined bySAMLMessageSecuritySupport.getContextSigningParameters(MessageContext). -
Uses of MessageContext in org.opensaml.saml.common.messaging.context
Fields in org.opensaml.saml.common.messaging.context with type parameters of type MessageContextModifier and TypeFieldDescriptionprivate BiConsumer<MessageContext,CriteriaSet> SAMLMetadataLookupParametersContext.criteriaExtenderAn extender hook that can add additionalCriterionobjects.Methods in org.opensaml.saml.common.messaging.context that return types with arguments of type MessageContextModifier and TypeMethodDescriptionSAMLMetadataLookupParametersContext.getCriteriaExtender()Get a callable hook for extending theCriteriaSetused for metadata resolution.Method parameters in org.opensaml.saml.common.messaging.context with type arguments of type MessageContextModifier and TypeMethodDescriptionSAMLMetadataLookupParametersContext.setCriteriaExtender(BiConsumer<MessageContext, CriteriaSet> extender) Set a callable hook for extending theCriteriaSetused for metadata resolution. -
Uses of MessageContext in org.opensaml.saml.common.messaging.logic
Methods in org.opensaml.saml.common.messaging.logic with parameters of type MessageContextModifier and TypeMethodDescriptionbooleanProxiedRequesterPredicate.test(MessageContext input) booleanSignatureCapableBindingPredicate.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.tlsCriteriaSetStrategyTLS 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 StringSAML1ArtifactType0002Builder.getArsEndpointUrl(MessageContext requestContext) Gets the index of the source artifact resolution service.protected SAMLArtifactContextSAML1ArtifactType0001Builder.getArtifactContext(MessageContext requestContext) Get the artifact context.protected SAMLArtifactContextSAML1ArtifactType0002Builder.getArtifactContext(MessageContext requestContext) Get the artifact context.protected StringSAML1ArtifactType0001Builder.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 voidHTTPArtifactDecoder.decodeTarget(MessageContext messageContext, HttpServletRequest request) Decodes the TARGET parameter and adds it to the message context.protected voidHTTPArtifactDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHttpClientResponseSOAP11Decoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPPostDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPSOAP11Decoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPArtifactDecoder.processArtifacts(MessageContext messageContext, 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 URIBaseSAML1MessageEncoder.getEndpointURL(MessageContext messageContext) Gets the response URL from the message context.private StringHTTPArtifactEncoder.getInboundMessageIssuer(MessageContext messageContext) Get the requester.private StringHTTPArtifactEncoder.getOutboundMessageIssuer(MessageContext messageContext) Get the outbound message issuer.private byte[]HTTPArtifactEncoder.getSAMLArtifactType(MessageContext messageContext) Get the SAML artifact type from the message context.protected voidHTTPPostEncoder.postEncode(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport.private voidHTTPArtifactEncoder.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 voidSAML1ArtifactRequestIssuerHandler.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 IntegerSAML2ArtifactType0004Builder.getArsEndpointIndex(MessageContext requestContext) Gets the index of the source artifact resolution service.protected SAMLArtifactContextSAML2ArtifactType0004Builder.getArtifactContext(MessageContext requestContext) Get the artifact context.protected StringSAML2ArtifactType0004Builder.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 voidHTTPArtifactDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHttpClientResponseSOAP11Decoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPPostDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPPostSimpleSignDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPRedirectDeflateDecoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.protected voidHTTPSOAP11Decoder.populateBindingContext(MessageContext messageContext) Populate the context which carries information specific to this binding.private voidHTTPArtifactDecoder.processArtifact(MessageContext messageContext, 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 SAML2ArtifactHTTPArtifactEncoder.buildArtifact(MessageContext messageContext) Builds the SAML 2 artifact for the outgoing message.protected StringHTTPPostSimpleSignEncoder.buildFormDataToSign(org.apache.velocity.VelocityContext velocityContext, MessageContext messageContext, String sigAlgURI) Build the form control data string over which the signature is computed.protected StringHTTPRedirectDeflateEncoder.buildRedirectURL(MessageContext messageContext, String endpoint, String message) Builds the URL to redirect the client to.protected URIBaseSAML2MessageEncoder.getEndpointURL(MessageContext messageContext) Gets the response URL from the message context.private StringHTTPArtifactEncoder.getInboundMessageIssuer(MessageContext messageContext) Get the requester.private StringHTTPArtifactEncoder.getOutboundMessageIssuer(MessageContext messageContext) Get the outbound message issuer.private byte[]HTTPArtifactEncoder.getSAMLArtifactType(MessageContext messageContext) Get the SAML artifact type from the message context.protected voidHTTPPostEncoder.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 voidHTTPPostSimpleSignEncoder.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 voidHTTPPostEncoder.postEncode(MessageContext messageContext, String endpointURL) Base64 and POST encodes the outbound message and writes it to the outbound transport.private voidHTTPArtifactEncoder.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.consentContextStrategyStrategy for locatingSAMLConsentContext.private Function<MessageContext,SAMLConsentContext> ExtractConsentFromRequestHandler.consentContextStrategyStrategy for locatingSAMLConsentContext.ExtractProxiedRequestersHandler.proxiedContextCreationStrategyStrategy for creatingProxiedRequesterContext.Methods in org.opensaml.saml.saml2.binding.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected voidAddConsentToResponseHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddECPResponseHeaderHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddGeneratedKeyHeaderHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddRelayStateHeaderHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddRequestAuthenticatedHeaderHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidExtractConsentFromRequestHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidExtractProxiedRequestersHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanAddECPResponseHeaderHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanAddGeneratedKeyHeaderHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanAddRelayStateHeaderHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanAddRequestAuthenticatedHeaderHandler.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 TypeMethodDescriptionvoidAddConsentToResponseHandler.setConsentContextLookupStrategy(Function<MessageContext, SAMLConsentContext> strategy) Set the strategy for locatingSAMLConsentContext.voidExtractConsentFromRequestHandler.setConsentContextLookupStrategy(Function<MessageContext, SAMLConsentContext> strategy) Set the strategy for locatingSAMLConsentContext.voidExtractProxiedRequestersHandler.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 voidExtractChannelBindingsExtensionsHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidExtractChannelBindingsHeadersHandler.doInvoke(MessageContext messageContext) Performs the handler logic.voidSAML2AuthnRequestsSignedSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanExtractChannelBindingsExtensionsHandler.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 booleanSAML2AuthnRequestsSignedSecurityHandler.isMessageSigned(MessageContext messageContext) Determine whether the inbound message is signed.protected booleanSAML2AuthnRequestsSignedSecurityHandler.isRequestSigningRequired(MessageContext messageContext) Determine whether a signature is required.protected booleanSAML2HTTPPostSimpleSignSecurityHandler.ruleHandles(MessageContext messageContext) Determine whether the rule should handle the request, based on the unwrapped HTTP servlet request and/or message context.protected booleanSAML2HTTPRedirectDeflateSignatureSecurityHandler.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.delegateThe lookup delegate.private Function<MessageContext,String> DefaultAssertionValidationContextBuilder.DefaultValidIssuersLookupFunction.delegateThe lookup delegate.Methods in org.opensaml.saml.saml2.profile.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected voidDefaultAssertionValidationContextBuilder.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 MessageContextSAML20AssertionTokenValidationInput.messageContextThe message context input.Fields in org.opensaml.saml.saml2.wssecurity.messaging.impl with type parameters of type MessageContextModifier and TypeFieldDescriptionWSSecuritySAML20AssertionTokenSecurityHandler.assertionValidatorLookupThe SAML 2.0 Assertion validator lookup function.private Function<Pair<MessageContext,Assertion>, CriteriaSet> DefaultSAML20AssertionValidationContextBuilder.signatureCriteriaSetFunctionA 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 theMessageContextinput.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 ValidationContextWSSecuritySAML20AssertionTokenSecurityHandler.buildValidationContext(MessageContext messageContext, Assertion assertion) Build the Assertion ValidationContext.protected voidWSSecuritySAML20AssertionTokenSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.WSSecuritySAML20AssertionTokenSecurityHandler.getAssertionValidator(MessageContext messageContext, Assertion assertion) Get the configured Assertion validator.protected voidWSSecuritySAML20AssertionTokenSecurityHandler.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.Method parameters in org.opensaml.saml.saml2.wssecurity.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidWSSecuritySAML20AssertionTokenSecurityHandler.setAssertionValidatorLookup(Function<Pair<MessageContext, Assertion>, SAML20AssertionValidator> function) Set the Assertion validator lookup function.voidDefaultSAML20AssertionValidationContextBuilder.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, 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.tlsCriteriaSetStrategyTLS 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 TypeMethodDescriptionHttpClientSecurityContext.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.clientTLSPredicatePredicate which determines whether clientTLS credentials should be included in the resolved parameters.PopulateHttpClientSecurityParametersHandler.configurationLookupStrategyStrategy used to look up a per-requestHttpClientSecurityConfigurationlist.PopulateHttpClientSecurityParametersHandler.existingParametersContextLookupStrategyStrategy used to look up an existingHttpClientSecurityContextto copy.PopulateHttpClientSecurityParametersHandler.securityParametersContextLookupStrategyStrategy used to look up theHttpClientSecurityContextto set the parameters for.Methods in org.opensaml.security.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected CriteriaSetBaseClientCertAuthSecurityHandler.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 CriteriaSetBaseTrustEngineSecurityHandler.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 voidBaseClientCertAuthSecurityHandler.doEvaluate(X509Credential requestCredential, MessageContext messageContext) Evaluate the request credential.protected voidBaseClientCertAuthSecurityHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidPopulateHttpClientSecurityParametersHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanBaseClientCertAuthSecurityHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanBaseTrustEngineSecurityHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanPopulateHttpClientSecurityParametersHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanBaseTrustEngineSecurityHandler.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 StringBaseClientCertAuthSecurityHandler.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 StringBaseClientCertAuthSecurityHandler.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 StringBaseClientCertAuthSecurityHandler.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 StringBaseClientCertAuthSecurityHandler.evaluateSubjectCommonName(X509Credential requestCredential, MessageContext messageContext) Evaluate the presenter entity ID as derived from the cert subject common name (CN).protected StringBaseClientCertAuthSecurityHandler.evaluateSubjectDN(X509Credential requestCredential, MessageContext messageContext) Evaluate the presenter entity ID as derived from the cert subject DN.protected abstract StringBaseClientCertAuthSecurityHandler.getCertificatePresenterEntityID(MessageContext messageContext) Get the entity ID of the presenter of the client TLS certificate, as will be used for trust evaluation purposes.protected voidPopulateHttpClientSecurityParametersHandler.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 voidBaseClientCertAuthSecurityHandler.setAuthenticatedCertificatePresenterEntityID(MessageContext messageContext, String entityID) Store the successfully authenticated derived entity ID of the certificate presenter in the message context.protected abstract voidBaseClientCertAuthSecurityHandler.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 TypeMethodDescriptionvoidPopulateHttpClientSecurityParametersHandler.setClientTLSPredicate(Predicate<MessageContext> predicate) Set the predicate which determines whether clientTLS credentials should be included in the resolved parameters.voidPopulateHttpClientSecurityParametersHandler.setConfigurationLookupStrategy(Function<MessageContext, List<HttpClientSecurityConfiguration>> strategy) Set the strategy used to look up a per-requestHttpClientSecurityConfigurationlist.voidPopulateHttpClientSecurityParametersHandler.setExistingParametersContextLookupStrategy(Function<MessageContext, HttpClientSecurityContext> strategy) Set the strategy used to look up an existingHttpClientSecurityContextto copy instead of actually resolving the parameters to set.voidPopulateHttpClientSecurityParametersHandler.setSecurityParametersContextLookupStrategy(Function<MessageContext, HttpClientSecurityContext> strategy) Set the strategy used to look up theHttpClientSecurityContextto 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.soap11ContextLookupStrategyDeprecated.Strategy used to look up theSOAP11Contextassociated with the outbound message context.private Function<MessageContext,SOAPClientContext> HttpSOAPClient.soapClientContextLookupStrategyDeprecated.Strategy used to look up theSOAPClientContextassociated with the outbound message context.Methods in org.opensaml.soap.client.http that return types with arguments of type MessageContextModifier and TypeMethodDescriptionHttpSOAPClient.getSOAP11ContextLookupStrategy()Deprecated.Get the strategy used to look up theSOAP11Contextassociated with the outbound message context.HttpSOAPClient.getSOAPClientContextLookupStrategy()Deprecated.Get the strategy used to look up theSOAPClientContextassociated with the outbound message context.Method parameters in org.opensaml.soap.client.http with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidHttpSOAPClient.setSOAP11ContextLookupStrategy(Function<MessageContext, SOAP11Context> strategy) Deprecated.Set the strategy used to look up theSOAP11Contextassociated with the outbound message context.voidHttpSOAPClient.setSOAPClientContextLookupStrategy(Function<MessageContext, SOAPClientContext> strategy) Deprecated.Set the strategy used to look up theSOAPClientContextassociated 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.delegateMapMap of pipeline names to delegate predicates.private Map<String,Predicate<MessageContext>> SOAPClientPipelineNameMappingPredicate.delegateMapMap of pipeline names to delegate predicates.private Function<MessageContext,SOAPClientContext> SOAPClientPipelineNameMappingFunction.soapClientContextLookupLookup strategy for the SOAP client context.private Function<MessageContext,SOAPClientContext> SOAPClientPipelineNameMappingPredicate.soapClientContextLookupLookup 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) booleanSOAPClientPipelineNameMappingPredicate.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.soapContextLookupLookup 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 TypeMethodDescriptionvoidSOAPClientSecurityProfileIdLookupFunction.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.mustUnderstandStrategyPredicate strategy for evaluating mustUnderstand from the message context.private Function<MessageContext,String> AbstractHeaderGeneratingMessageHandler.targetNodeStrategyFunction strategy for resolving target node from the message context.Methods in org.opensaml.soap.messaging with parameters of type MessageContextModifier and TypeMethodDescriptionstatic voidSOAPMessagingSupport.addHeaderBlock(MessageContext messageContext, XMLObject headerBlock) Add a header block to the SOAP envelope contained within the specified message context's SOAP subcontext.static voidSOAPMessagingSupport.addMustUnderstand(MessageContext messageContext, XMLObject headerBlock, boolean mustUnderstand) Add whether the specified header block is indicated as mustUnderstand.static voidSOAPMessagingSupport.addTargetNode(MessageContext messageContext, XMLObject headerBlock, String targetNode) Add the target node info to the header block, eithersoap11:actor, orsoap12:role.static booleanSOAPMessagingSupport.checkUnderstoodHeader(MessageContext msgContext, XMLObject header) Check whether a header was understood.static voidSOAPMessagingSupport.clearFault(MessageContext messageContext) Clear the currently registered SOAP fault, if any.protected voidAbstractHeaderGeneratingMessageHandler.decorateGeneratedHeader(MessageContext messageContext, XMLObject header) Decorate the header based on configured and/or resolved values.protected booleanAbstractHeaderGeneratingMessageHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.static SOAP11ContextSOAPMessagingSupport.ensureSOAP11Context(MessageContext messageContext) Get the currentSOAP11Contextfor the givenMessageContext, or create one if necessary.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 InboundSOAPContextSOAPMessagingSupport.getInboundSOAPContext(MessageContext messageContext) Get the currentInboundSOAPContextfor 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 SOAP11ContextSOAPMessagingSupport.getSOAP11Context(MessageContext messageContext) Get the currentSOAP11Contextfor the givenMessageContext.static SOAP11ContextSOAPMessagingSupport.getSOAP11Context(MessageContext messageContext, boolean autoCreate) Deprecated, for removal: This API element is subject to removal in a future version.static FaultSOAPMessagingSupport.getSOAP11Fault(MessageContext messageContext) Get the registered SOAP 1.1 fault, if any.static SOAPVersionSOAPMessagingSupport.getSOAPVersion(MessageContext messageContext) Determine the SOAP version of the message represented by the message context.static booleanSOAPMessagingSupport.isMustUnderstand(MessageContext messageContext, XMLObject headerBlock) Check whether the specified header block is indicated as mustUnderstand == true.static booleanSOAPMessagingSupport.isSOAP11Message(MessageContext messageContext) Determine whether the message represented by the message context contains a SOAP 1.1.static booleanSOAPMessagingSupport.isSOAPMessage(MessageContext messageContext) Determine whether the message represented by the message context contains a SOAP Envelope.static voidSOAPMessagingSupport.registerSOAP11Fault(MessageContext messageContext, QName faultCode, String faultString, String faultActor, List<XMLObject> detailChildren, Map<QName, String> detailAttributes) Register a SOAP 1.1.static voidSOAPMessagingSupport.registerSOAP11Fault(MessageContext messageContext, Fault fault) Register a SOAP 1.1 fault.static voidSOAPMessagingSupport.registerUnderstoodHeader(MessageContext msgContext, XMLObject header) Register a header as understood.Method parameters in org.opensaml.soap.messaging with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidAbstractHeaderGeneratingMessageHandler.setMustUnderstandStrategy(Predicate<MessageContext> strategy) Set the predicate strategy for evaluating mustUnderstand from the message context.voidAbstractHeaderGeneratingMessageHandler.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 voidEnvelopeBodyHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidSimplePayloadBodyHandler.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 TypeMethodDescriptionbooleanSOAP11FaultContextDecoratingErrorHandler.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.relatesToURILookupOptional 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 voidAddActionHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddMessageIDHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidAddRelatesToHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidExtractMessageIDHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected voidValidateActionHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanAddActionHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanAddRelatesToHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected booleanValidateActionHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected ActionValidateActionHandler.getAction(MessageContext messageContext) Get message Action header.protected StringAddMessageIDHandler.getMessageID(MessageContext messageContext) Get the effective message ID value to issue in the outbound message.protected MessageIDExtractMessageIDHandler.getMessageID(MessageContext messageContext) Get message MessageID URI value.Method parameters in org.opensaml.soap.wsaddressing.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidAddRelatesToHandler.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 voidWSSecurityMessagingSupport.addSecurityHeaderBlock(MessageContext messageContext, XMLObject securityHeader, boolean mustUnderstand) Add aSecuritysub-header block to the SOAP envelope contained within the specified message context's SOAP subcontext.static voidWSSecurityMessagingSupport.addSecurityHeaderBlock(MessageContext messageContext, XMLObject securitySubHeader, boolean mustUnderstand, String targetNode, boolean isFinalDestination) Add aSecuritysub-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.createdLookupContext lookup function for the Created time.private Function<MessageContext,Instant> AddTimestampHandler.expiresLookupContext 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 voidAddTimestampHandler.doInvoke(MessageContext messageContext) Performs the handler logic.protected booleanAddTimestampHandler.doPreInvoke(MessageContext messageContext) Called prior to execution, handlers may override this method to perform pre-processing for a request.protected InstantAddTimestampHandler.getCreatedValue(MessageContext messageContext) Get the Created value.protected InstantAddTimestampHandler.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 TypeMethodDescriptionvoidAddTimestampHandler.setCreatedLookup(Function<MessageContext, Instant> lookup) Set the context lookup function for the Created time.voidAddTimestampHandler.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.configurationLookupStrategyStrategy used to lookup a per-requestSignatureValidationConfigurationlist.PopulateSignatureValidationParametersHandler.securityParametersContextLookupStrategyStrategy used to look up theSecurityParametersContextto set the parameters for.Methods in org.opensaml.xmlsec.messaging.impl with parameters of type MessageContextModifier and TypeMethodDescriptionprotected voidPopulateSignatureValidationParametersHandler.doInvoke(MessageContext messageContext) Performs the handler logic.Method parameters in org.opensaml.xmlsec.messaging.impl with type arguments of type MessageContextModifier and TypeMethodDescriptionvoidPopulateSignatureValidationParametersHandler.setConfigurationLookupStrategy(Function<MessageContext, List<SignatureValidationConfiguration>> strategy) Set the strategy used to look up a per-requestSignatureValidationConfigurationlist.voidPopulateSignatureValidationParametersHandler.setSecurityParametersContextLookupStrategy(Function<MessageContext, SecurityParametersContext> strategy) Set the strategy used to look up theSecurityParametersContextto set the parameters for.