Spring Security SAML

org.springframework.security.saml.processor
Interface SAMLProcessor

All Known Implementing Classes:
SAMLProcessorImpl

public interface SAMLProcessor

Implementation is responsible for sending and receiving SAML messages using any of the supported binding. Processor is unaware of the content of the messages or of the profile as part of which they're exchanged. Is is responsibility of the caller to properly fill SAMLMessageContext with all required data.

Author:
Vladimir Schäfer

Method Summary
 SAMLMessageContext retrieveMessage(SAMLMessageContext context)
           
 SAMLMessageContext retrieveMessage(SAMLMessageContext context, String binding)
           
 SAMLMessageContext sendMessage(SAMLMessageContext context, boolean sign)
           
 SAMLMessageContext sendMessage(SAMLMessageContext context, boolean sign, String binding)
           
 

Method Detail

retrieveMessage

SAMLMessageContext retrieveMessage(SAMLMessageContext context,
                                   String binding)
                                   throws org.opensaml.common.SAMLException,
                                          org.opensaml.saml2.metadata.provider.MetadataProviderException,
                                          org.opensaml.ws.message.decoder.MessageDecodingException,
                                          org.opensaml.xml.security.SecurityException
Throws:
org.opensaml.common.SAMLException
org.opensaml.saml2.metadata.provider.MetadataProviderException
org.opensaml.ws.message.decoder.MessageDecodingException
org.opensaml.xml.security.SecurityException

retrieveMessage

SAMLMessageContext retrieveMessage(SAMLMessageContext context)
                                   throws org.opensaml.common.SAMLException,
                                          org.opensaml.saml2.metadata.provider.MetadataProviderException,
                                          org.opensaml.ws.message.decoder.MessageDecodingException,
                                          org.opensaml.xml.security.SecurityException
Throws:
org.opensaml.common.SAMLException
org.opensaml.saml2.metadata.provider.MetadataProviderException
org.opensaml.ws.message.decoder.MessageDecodingException
org.opensaml.xml.security.SecurityException

sendMessage

SAMLMessageContext sendMessage(SAMLMessageContext context,
                               boolean sign,
                               String binding)
                               throws org.opensaml.common.SAMLException,
                                      org.opensaml.saml2.metadata.provider.MetadataProviderException,
                                      org.opensaml.ws.message.encoder.MessageEncodingException
Throws:
org.opensaml.common.SAMLException
org.opensaml.saml2.metadata.provider.MetadataProviderException
org.opensaml.ws.message.encoder.MessageEncodingException

sendMessage

SAMLMessageContext sendMessage(SAMLMessageContext context,
                               boolean sign)
                               throws org.opensaml.common.SAMLException,
                                      org.opensaml.saml2.metadata.provider.MetadataProviderException,
                                      org.opensaml.ws.message.encoder.MessageEncodingException
Throws:
org.opensaml.common.SAMLException
org.opensaml.saml2.metadata.provider.MetadataProviderException
org.opensaml.ws.message.encoder.MessageEncodingException

Spring Security SAML