public class HTTPPostBinding extends SAMLBindingImpl
Modifier and Type | Field and Description |
---|---|
protected org.opensaml.xml.parse.ParserPool |
parserPool
Pool for message deserializers.
|
Constructor and Description |
---|
HTTPPostBinding(org.opensaml.xml.parse.ParserPool parserPool,
org.opensaml.ws.message.decoder.MessageDecoder decoder,
org.opensaml.ws.message.encoder.MessageEncoder encoder)
Implementation of the binding with custom encoder and decoder.
|
HTTPPostBinding(org.opensaml.xml.parse.ParserPool parserPool,
org.apache.velocity.app.VelocityEngine velocityEngine)
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
protected org.opensaml.xml.parse.ParserPool parserPool
public HTTPPostBinding(org.opensaml.xml.parse.ParserPool parserPool, org.apache.velocity.app.VelocityEngine velocityEngine)
parserPool
- parserPool for message deserializationvelocityEngine
- engine for message formattingpublic HTTPPostBinding(org.opensaml.xml.parse.ParserPool parserPool, org.opensaml.ws.message.decoder.MessageDecoder decoder, org.opensaml.ws.message.encoder.MessageEncoder encoder)
parserPool
- parserPool for message deserializationdecoder
- 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