Spring Security SAML

org.springframework.security.saml.processor
Class HTTPRedirectDeflateBinding

java.lang.Object
  extended by org.springframework.security.saml.processor.SAMLBindingImpl
      extended by org.springframework.security.saml.processor.HTTPRedirectDeflateBinding
All Implemented Interfaces:
SAMLBinding

public class HTTPRedirectDeflateBinding
extends SAMLBindingImpl

Http redirect binding.

Author:
Mandus Elfving

Constructor Summary
HTTPRedirectDeflateBinding(org.opensaml.ws.message.decoder.MessageDecoder decoder, org.opensaml.ws.message.encoder.MessageEncoder encoder)
          Constructor with customized encoder and decoder
HTTPRedirectDeflateBinding(org.opensaml.xml.parse.ParserPool parserPool)
          Creates binding with default encoder and decoder.
 
Method Summary
 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.
 
Methods inherited from class org.springframework.security.saml.processor.SAMLBindingImpl
getMessageDecoder, getMessageEncoder
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPRedirectDeflateBinding

public HTTPRedirectDeflateBinding(org.opensaml.xml.parse.ParserPool parserPool)
Creates binding with default encoder and decoder.

Parameters:
parserPool - parser pool

HTTPRedirectDeflateBinding

public HTTPRedirectDeflateBinding(org.opensaml.ws.message.decoder.MessageDecoder decoder,
                                  org.opensaml.ws.message.encoder.MessageEncoder encoder)
Constructor with customized encoder and decoder

Parameters:
decoder - decoder
encoder - encoder
Method Detail

supports

public boolean supports(org.opensaml.ws.transport.InTransport transport)
Description copied from interface: SAMLBinding
Checks whether current binding can be used to extract SAML message from the request.

Parameters:
transport - verify whether this binding supports given transport mechanism
Returns:
true if this binding can be used to parse SAML message

supports

public boolean supports(org.opensaml.ws.transport.OutTransport transport)
Description copied from interface: SAMLBinding
Checks whether current binding can be used to send a message using given transport.

Parameters:
transport - verify whether this binding supports given transport mechanism
Returns:
true if this binding can be used to send message over the transport

getBindingURI

public String getBindingURI()
Description copied from interface: SAMLBinding
Binding identifier.

Returns:
identifier

getSecurityPolicy

public void getSecurityPolicy(List<org.opensaml.ws.security.SecurityPolicyRule> securityPolicy,
                              SAMLMessageContext samlContext)
Description copied from interface: SAMLBinding
Security rules to apply for incoming SAML messages received using the binding.

Specified by:
getSecurityPolicy in interface SAMLBinding
Overrides:
getSecurityPolicy in class SAMLBindingImpl
Parameters:
securityPolicy - storage for created policies
samlContext - processed context

Spring Security SAML