Package | Description |
---|---|
org.opensaml.messaging.context |
Interfaces and classes for tracking message processing state.
|
org.opensaml.messaging.context.navigate |
A set of
Function s used to navigate and lookup data
from a tree of BaseContext s. |
org.opensaml.messaging.decoder |
Interfaces and classes for decoding messages.
|
org.opensaml.messaging.encoder |
Interfaces and classes for encoding messages.
|
org.opensaml.messaging.error |
Interfaces and classes for message-related error handling.
|
org.opensaml.messaging.handler |
Interfaces and classes for message context handlers.
|
org.opensaml.messaging.handler.impl |
Implementations of message context handlers.
|
org.opensaml.profile.context.navigate |
Functions for navigating profile context information.
|
org.opensaml.saml.common.binding |
Classes related to SAML binding operations.
|
org.opensaml.saml.common.binding.impl |
Implementation of SAML binding-level functionality, such as MessageHandlers.
|
org.opensaml.saml.common.binding.security.impl |
Classes responsible for performing transport-related and basic message
validation of decoded SAML messages.
|
org.opensaml.saml.common.messaging |
Support classes for SAML message security operations.
|
org.opensaml.saml.common.messaging.context.navigate |
Functions to navigate SAML message contexts.
|
org.opensaml.saml.saml1.binding.artifact |
Classes that may be used to create and manipulate SAML 1 artifacts.
|
org.opensaml.saml.saml1.binding.decoding.impl |
SAML 1.x message decoders.
|
org.opensaml.saml.saml1.binding.encoding.impl |
SAML 1.x message encoders.
|
org.opensaml.saml.saml1.binding.impl |
General message handlers for SAML 1.x.
|
org.opensaml.saml.saml2.binding.artifact |
Classes that may be used to create and manipulate SAML 2 artifacts.
|
org.opensaml.saml.saml2.binding.decoding.impl |
SAML 2.0 message decoders.
|
org.opensaml.saml.saml2.binding.encoding.impl |
SAML 1.x message encoders.
|
org.opensaml.saml.saml2.binding.impl |
General message handlers for SAML 2.
|
org.opensaml.saml.saml2.binding.security.impl |
Security-related message handlers for SAML 2.
|
org.opensaml.security.messaging.impl |
Message handler implementations.
|
org.opensaml.soap.client.http |
SOAP HTTP client functionality.
|
org.opensaml.soap.soap11.decoder.http.impl |
SOAP over HTTP 1.1 message decoder and handlers.
|
org.opensaml.soap.util |
General SOAP utility classes.
|
Modifier and Type | Method and Description |
---|---|
MessageContext<InboundMessageType> |
InOutOperationContext.getInboundMessageContext()
The inbound message context instance.
|
MessageContext<OutboundMessageType> |
InOutOperationContext.getOutboundMessageContext()
The outbound message context instance.
|
Modifier and Type | Method and Description |
---|---|
T |
MessageContextEvaluatingFunctor.evaluate(MessageContext<MessageType> msgContext)
Using the specified MessageContext as the evaluation context,
produce a data value product of the appropriate type.
|
void |
MessageContextMutatingFunctor.mutate(MessageContext<MessageType> msgContext,
T input)
Mutate the specified message context based on the supplied input value.
|
void |
InOutOperationContext.setInboundMessageContext(MessageContext<InboundMessageType> context)
Sets the inbound message context.
|
void |
InOutOperationContext.setOutboundMessageContext(MessageContext<OutboundMessageType> context)
Sets the outbound message context.
|
Constructor and Description |
---|
InOutOperationContext(MessageContext<InboundMessageType> inbound,
MessageContext<OutboundMessageType> outbound)
Constructor.
|
InOutOperationContext(MessageContext<InboundMessageType> inbound,
MessageContext<OutboundMessageType> outbound)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
MessageLookup.apply(MessageContext input) |
Modifier and Type | Method and Description |
---|---|
MessageContext<MessageType> |
MessageDecoder.getMessageContext()
Get the decoded message context.
|
MessageContext<MessageType> |
AbstractMessageDecoder.getMessageContext()
Get the decoded message context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractMessageDecoder.setMessageContext(MessageContext<MessageType> context)
Set the message context.
|
Modifier and Type | Method and Description |
---|---|
protected MessageContext<MessageType> |
AbstractMessageEncoder.getMessageContext()
Get the message context.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMessageEncoder.setMessageContext(MessageContext<MessageType> context)
Set the
MessageContext which is to be encoded. |
void |
MessageEncoder.setMessageContext(MessageContext<MessageType> messageContext)
Set the
MessageContext which is to be encoded. |
Modifier and Type | Method and Description |
---|---|
boolean |
MessageErrorHandler.handleError(Throwable t,
MessageContext<MessageType> messageContext)
Handle a particular thrown error.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractMessageHandler.doInvoke(MessageContext<MessageType> messageContext)
Performs the handler logic.
|
protected void |
AbstractMessageHandler.doPostInvoke(MessageContext<MessageType> messageContext)
Called after execution, handlers may override this method to perform post-processing for a request.
|
protected void |
AbstractMessageHandler.doPostInvoke(MessageContext<MessageType> messageContext,
Exception e)
Called after execution, handlers may override this method to perform post-processing for a request.
|
protected boolean |
AbstractMessageHandler.doPreInvoke(MessageContext<MessageType> messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
void |
MessageHandler.invoke(MessageContext<MessageType> messageContext)
Invoke the handler on the specified message context.
|
void |
AbstractMessageHandler.invoke(MessageContext<MessageType> messageContext)
Invoke the handler on the specified message context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CheckMandatoryIssuer.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
CheckMandatoryAuthentication.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 |
SchemaValidateXMLMessage.doInvoke(MessageContext<MessageType> messageContext)
Performs the handler logic.
|
void |
BasicMessageHandlerChain.doInvoke(MessageContext<MessageType> msgContext)
Performs the handler logic.
|
protected boolean |
SchemaValidateXMLMessage.doPreInvoke(MessageContext<MessageType> messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
Modifier and Type | Method and Description |
---|---|
void |
CheckMandatoryAuthentication.setAuthenticationLookupStrategy(com.google.common.base.Function<MessageContext,Boolean> strategy)
Set the strategy used to look up the authentication state associated with the message context.
|
void |
CheckMandatoryIssuer.setIssuerLookupStrategy(com.google.common.base.Function<MessageContext,String> strategy)
Set the strategy used to look up the issuer associated with the message context.
|
Modifier and Type | Method and Description |
---|---|
MessageContext |
OutboundMessageContextLookup.apply(ProfileRequestContext input) |
MessageContext |
InboundMessageContextLookup.apply(ProfileRequestContext input) |
Modifier and Type | Method and Description |
---|---|
static String |
SAMLBindingSupport.getActualReceiverEndpointURI(MessageContext<SAMLObject> messageContext,
javax.servlet.http.HttpServletRequest request)
Extract the transport endpoint URI at which this message was received.
|
static URI |
SAMLBindingSupport.getEndpointURL(MessageContext<SAMLObject> messageContext)
Get the response URL from the relying party endpoint.
|
static String |
SAMLBindingSupport.getIntendedDestinationEndpointURI(MessageContext<SAMLObject> 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<SAMLObject> messageContext)
Get the SAML protocol relay state from a message context.
|
static boolean |
SAMLBindingSupport.isIntendedDestinationEndpointURIRequired(MessageContext<SAMLObject> 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<SAMLObject> messageContext)
Determine whether the SAML message represented by the message context is digitally signed.
|
static void |
SAMLBindingSupport.setRelayState(MessageContext<SAMLObject> messageContext,
String relayState)
Set the SAML protocol relay state on a message context.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SAMLMetadataLookupHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
CheckMessageVersionHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
SAMLAddAttributeConsumingServiceHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
SAMLSOAPDecoderBodyHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
SAMLProtocolAndRoleHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
AddChannelBindingsHeaderHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
SAMLOutboundDestinationHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected boolean |
SAMLAddAttributeConsumingServiceHandler.doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
protected boolean |
AddChannelBindingsHeaderHandler.doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
Modifier and Type | Method and Description |
---|---|
void |
AddChannelBindingsHeaderHandler.setChannelBindingsContextLookupStrategy(com.google.common.base.Function<MessageContext,ChannelBindingsContext> strategy)
Set the strategy used to locate the
ChannelBindingsContext to operate on. |
void |
SAMLAddAttributeConsumingServiceHandler.setIndexLookupStrategy(com.google.common.base.Function<MessageContext,Integer> strategy)
Set the strategy to locate the
AttributeConsumingService index from the MessageContext . |
void |
SAMLAddAttributeConsumingServiceHandler.setMetadataContextLookupStrategy(com.google.common.base.Function<MessageContext,SAMLMetadataContext> strategy)
Set the strategy to locate the
SAMLMetadataContext from the MessageContext . |
Modifier and Type | Method and Description |
---|---|
protected net.shibboleth.utilities.java.support.resolver.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 net.shibboleth.utilities.java.support.resolver.CriteriaSet |
BaseSAMLSimpleSignatureSecurityHandler.buildCriteriaSet(String entityID,
MessageContext messageContext)
Build a criteria set suitable for input to the trust engine.
|
protected net.shibboleth.utilities.java.support.resolver.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 void |
ReceivedEndpointSecurityHandler.checkEndpointURI(MessageContext<SAMLObject> messageContext,
net.shibboleth.utilities.java.support.net.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.
|
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 |
EndpointURLSchemeSecurityHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
ReceivedEndpointSecurityHandler.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.
|
void |
SAMLProtocolMessageXMLSignatureSecurityHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
SAMLOutboundProtocolMessageSigningHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
BaseSAMLSimpleSignatureSecurityHandler.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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static SignatureSigningParameters |
SAMLMessageSecuritySupport.getContextSigningParameters(MessageContext<SAMLObject> messageContext)
Get the signing parameters from the message context.
|
static void |
SAMLMessageSecuritySupport.signMessage(MessageContext<SAMLObject> messageContext)
Signs the SAML message represented in the message context if it is a
SignableXMLObject
and the message context contains signing parameters as determined
by SAMLMessageSecuritySupport.getContextSigningParameters(MessageContext) . |
Modifier and Type | Method and Description |
---|---|
String |
SAMLMessageContextIssuerFunction.apply(MessageContext input) |
Boolean |
SAMLMessageContextAuthenticationFunction.apply(MessageContext input) |
Modifier and Type | Method and Description |
---|---|
ArtifactType |
SAML1ArtifactBuilder.buildArtifact(MessageContext<SAMLObject> requestContext,
Assertion assertion)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
SAML1ArtifactType0002 |
SAML1ArtifactType0002Builder.buildArtifact(MessageContext<SAMLObject> requestContext,
Assertion assertion)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
SAML1ArtifactType0001 |
SAML1ArtifactType0001Builder.buildArtifact(MessageContext<SAMLObject> requestContext,
Assertion assertion)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
protected String |
SAML1ArtifactType0002Builder.getArsEndpointUrl(MessageContext<SAMLObject> requestContext)
Gets the index of the source artifact resolution service.
|
protected SAMLArtifactContext |
SAML1ArtifactType0002Builder.getArtifactContext(MessageContext<SAMLObject> requestContext)
Get the artifact context.
|
protected SAMLArtifactContext |
SAML1ArtifactType0001Builder.getArtifactContext(MessageContext<SAMLObject> requestContext)
Get the artifact context.
|
protected String |
SAML1ArtifactType0001Builder.getSourceEntityId(MessageContext<SAMLObject> requestContext)
Get the local entityId.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTTPArtifactDecoder.decodeTarget(MessageContext messageContext,
javax.servlet.http.HttpServletRequest request)
Decodes the TARGET parameter and adds it to the message context.
|
protected void |
HTTPPostDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPArtifactDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPSOAP11Decoder.populateBindingContext(MessageContext<SAMLObject> 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.
|
Modifier and Type | Method and Description |
---|---|
protected URI |
BaseSAML1MessageEncoder.getEndpointURL(MessageContext<SAMLObject> messageContext)
Gets the response URL from the message context.
|
protected void |
HTTPPostEncoder.postEncode(MessageContext<SAMLObject> messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SAML1ArtifactRequestIssuerHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
Modifier and Type | Method and Description |
---|---|
SAML2ArtifactType0004 |
SAML2ArtifactType0004Builder.buildArtifact(MessageContext<SAMLObject> requestContext)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
ArtifactType |
SAML2ArtifactBuilder.buildArtifact(MessageContext<SAMLObject> requestContext)
Builds an artifact, for the given assertion, destined for the outbound message recipient.
|
protected Integer |
SAML2ArtifactType0004Builder.getArsEndpointIndex(MessageContext<SAMLObject> requestContext)
Gets the index of the source artifact resolution service.
|
protected SAMLArtifactContext |
SAML2ArtifactType0004Builder.getArtifactContext(MessageContext<SAMLObject> requestContext)
Get the artifact context.
|
protected String |
SAML2ArtifactType0004Builder.getSourceEntityId(MessageContext<SAMLObject> requestContext)
Get the local entityId.
|
Modifier and Type | Method and Description |
---|---|
protected void |
HTTPPostSimpleSignDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPPostDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPArtifactDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPSOAP11Decoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected void |
HTTPRedirectDeflateDecoder.populateBindingContext(MessageContext<SAMLObject> messageContext)
Populate the context which carries information specific to this binding.
|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractSAML2Artifact |
HTTPArtifactEncoder.buildArtifact(MessageContext<SAMLObject> messageContext)
Builds the SAML 2 artifact for the outgoing message.
|
protected String |
HTTPPostSimpleSignEncoder.buildFormDataToSign(org.apache.velocity.VelocityContext velocityContext,
MessageContext<SAMLObject> messageContext,
String sigAlgURI)
Build the form control data string over which the signature is computed.
|
protected String |
HTTPRedirectDeflateEncoder.buildRedirectURL(MessageContext<SAMLObject> messageContext,
String endpoint,
String message)
Builds the URL to redirect the client to.
|
protected URI |
BaseSAML2MessageEncoder.getEndpointURL(MessageContext<SAMLObject> messageContext)
Gets the response URL from the message context.
|
protected void |
HTTPPostEncoder.populateVelocityContext(org.apache.velocity.VelocityContext velocityContext,
MessageContext<SAMLObject> 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<SAMLObject> messageContext,
String endpointURL)
Populate the Velocity context instance which will be used to render the POST body.
|
protected void |
HTTPPostEncoder.postEncode(MessageContext<SAMLObject> messageContext,
String endpointURL)
Base64 and POST encodes the outbound message and writes it to the outbound transport.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AddRelayStateHeaderHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
AddRequestAuthenticatedHeaderHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
AddConsentToResponseHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
AddGeneratedKeyHeaderHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
ExtractConsentFromRequestHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
AddECPResponseHeaderHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
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.
|
protected boolean |
AddGeneratedKeyHeaderHandler.doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
protected boolean |
AddECPResponseHeaderHandler.doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
Modifier and Type | Method and Description |
---|---|
void |
AddConsentToResponseHandler.setConsentContextLookupStrategy(com.google.common.base.Function<MessageContext,SAMLConsentContext> strategy)
Set the strategy for locating
SAMLConsentContext . |
void |
ExtractConsentFromRequestHandler.setConsentContextLookupStrategy(com.google.common.base.Function<MessageContext,SAMLConsentContext> strategy)
Set the strategy for locating
SAMLConsentContext . |
Modifier and Type | Method and Description |
---|---|
protected void |
ExtractChannelBindingsHeadersHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
ExtractChannelBindingsExtensionsHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
void |
SAML2AuthnRequestsSignedSecurityHandler.doInvoke(MessageContext<SAMLObject> 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<SAMLObject> messageContext)
Determine whether the inbound message is signed.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected abstract net.shibboleth.utilities.java.support.resolver.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 net.shibboleth.utilities.java.support.resolver.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 void |
BaseClientCertAuthSecurityHandler.doEvaluate(X509Credential requestCredential,
MessageContext messageContext)
Evaluate the request credential.
|
protected void |
BaseClientCertAuthSecurityHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected boolean |
BaseTrustEngineSecurityHandler.doPreInvoke(MessageContext messageContext)
Called prior to execution, handlers may override this method to perform pre-processing for a request.
|
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.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 via
CertificateNameOptions . |
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
in
CertificateNameOptions.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 abstract TrustEngine<? super TokenType> |
BaseTrustEngineSecurityHandler.resolveTrustEngine(MessageContext messageContext)
Resolve a TrustEngine instance of the appropriate type from the message context.
|
protected TrustEngine<? super X509Credential> |
BaseClientCertAuthSecurityHandler.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.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Function<MessageContext,SOAP11Context> |
HttpSOAPClient.getSOAP11ContextLookupStrategy()
Get the strategy used to look up the
SOAP11Context associated with the outbound message
context. |
com.google.common.base.Function<MessageContext,SOAPClientContext> |
HttpSOAPClient.getSOAPClientContextLookupStrategy()
Get the strategy used to look up the
SOAPClientContext associated with the outbound message
context. |
Modifier and Type | Method and Description |
---|---|
void |
HttpSOAPClient.setSOAP11ContextLookupStrategy(com.google.common.base.Function<MessageContext,SOAP11Context> strategy)
Set the strategy used to look up the
SOAP11Context associated with the outbound message
context. |
void |
HttpSOAPClient.setSOAPClientContextLookupStrategy(com.google.common.base.Function<MessageContext,SOAPClientContext> strategy)
Set the strategy used to look up the
SOAPClientContext associated with the outbound message
context. |
Modifier and Type | Method and Description |
---|---|
protected void |
SimplePayloadBodyHandler.doInvoke(MessageContext messageContext)
Performs the handler logic.
|
protected void |
EnvelopeBodyHandler.doInvoke(MessageContext<Envelope> messageContext)
Performs the handler logic.
|
Modifier and Type | Method and Description |
---|---|
static void |
SOAPSupport.addHeaderBlock(MessageContext messageContext,
XMLObject headerBlock)
Add a header block to the SOAP envelope contained within the specified message context's
SOAP subcontext.
|
static List<XMLObject> |
SOAPSupport.getInboundHeaderBlock(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.
|
static boolean |
SOAPSupport.isSOAPMessage(MessageContext<? extends XMLObject> messageContext)
Determine whether the message represented by the message context
contains a SOAP Envelope.
|
Copyright © 2017. All rights reserved.