public class HTTPArtifactBinding extends SAMLBindingImpl
Constructor and Description |
---|
HTTPArtifactBinding(org.opensaml.ws.message.decoder.MessageDecoder decoder,
org.opensaml.ws.message.encoder.MessageEncoder encoder)
Implementation of the binding with custom encoder and decoder.
|
HTTPArtifactBinding(org.opensaml.xml.parse.ParserPool parserPool,
org.apache.velocity.app.VelocityEngine velocityEngine,
ArtifactResolutionProfile artifactProfile)
Creates default implementation of the binding.
|
Modifier and Type | Method and Description |
---|---|
String |
getBindingURI()
Binding identifier.
|
void |
getSecurityPolicy(List<org.opensaml.ws.security.SecurityPolicyRule> securityPolicy,
SAMLMessageContext samlContext)
Security rules to apply for incoming SAML messages received using the binding.
|
boolean |
supports(org.opensaml.ws.transport.InTransport transport)
Checks whether current binding can be used to extract SAML message from the request.
|
boolean |
supports(org.opensaml.ws.transport.OutTransport transport)
Checks whether current binding can be used to send a message using given transport.
|
getMessageDecoder, getMessageEncoder
public HTTPArtifactBinding(org.opensaml.xml.parse.ParserPool parserPool, org.apache.velocity.app.VelocityEngine velocityEngine, ArtifactResolutionProfile artifactProfile)
parserPool
- parserPool for message deserializationvelocityEngine
- engine for message formattingartifactProfile
- profile used to retrieven the artifact messagepublic HTTPArtifactBinding(org.opensaml.ws.message.decoder.MessageDecoder decoder, org.opensaml.ws.message.encoder.MessageEncoder encoder)
decoder
- custom decoder implementationencoder
- custom encoder implementationpublic boolean supports(org.opensaml.ws.transport.InTransport transport)
SAMLBinding
transport
- verify whether this binding supports given transport mechanismpublic boolean supports(org.opensaml.ws.transport.OutTransport transport)
SAMLBinding
transport
- verify whether this binding supports given transport mechanismpublic String getBindingURI()
SAMLBinding
public void getSecurityPolicy(List<org.opensaml.ws.security.SecurityPolicyRule> securityPolicy, SAMLMessageContext samlContext)
SAMLBinding
getSecurityPolicy
in interface SAMLBinding
getSecurityPolicy
in class SAMLBindingImpl
securityPolicy
- storage for created policiessamlContext
- processed context