Spring Security SAML

org.springframework.security.saml.processor
Class SAMLBindingImpl

java.lang.Object
  extended by org.springframework.security.saml.processor.SAMLBindingImpl
All Implemented Interfaces:
SAMLBinding
Direct Known Subclasses:
HTTPArtifactBinding, HTTPPostBinding, HTTPRedirectDeflateBinding, HTTPSOAP11Binding

public abstract class SAMLBindingImpl
extends Object
implements SAMLBinding

Implementation contains a static decoder instance returned in case conditions specified in the subclass are satisfied.

Author:
Vladimir Schaefer

Constructor Summary
protected SAMLBindingImpl(org.opensaml.ws.message.decoder.MessageDecoder decoder, org.opensaml.ws.message.encoder.MessageEncoder encoder)
           
 
Method Summary
 org.opensaml.ws.message.decoder.MessageDecoder getMessageDecoder()
          Creates decoder capable of parsing message with the given binding
 org.opensaml.ws.message.encoder.MessageEncoder getMessageEncoder()
          Creates encoder capable of creating messages to be sent using given bindidn.
 void getSecurityPolicy(List<org.opensaml.ws.security.SecurityPolicyRule> securityPolicy, SAMLMessageContext samlContext)
          Security rules to apply for incoming SAML messages received using the binding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.springframework.security.saml.processor.SAMLBinding
getBindingURI, supports, supports
 

Constructor Detail

SAMLBindingImpl

protected SAMLBindingImpl(org.opensaml.ws.message.decoder.MessageDecoder decoder,
                          org.opensaml.ws.message.encoder.MessageEncoder encoder)
Method Detail

getMessageDecoder

public org.opensaml.ws.message.decoder.MessageDecoder getMessageDecoder()
Description copied from interface: SAMLBinding
Creates decoder capable of parsing message with the given binding

Specified by:
getMessageDecoder in interface SAMLBinding
Returns:
instance of the decoder

getMessageEncoder

public org.opensaml.ws.message.encoder.MessageEncoder getMessageEncoder()
Description copied from interface: SAMLBinding
Creates encoder capable of creating messages to be sent using given bindidn.

Specified by:
getMessageEncoder in interface SAMLBinding
Returns:
encoder

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
Parameters:
securityPolicy - storage for created policies
samlContext - processed context

Spring Security SAML