org.opensaml.saml2.binding.decoding
Class HTTPPostSimpleSignDecoder
java.lang.Object
org.opensaml.ws.message.decoder.BaseMessageDecoder
org.opensaml.common.binding.decoding.BaseSAMLMessageDecoder
org.opensaml.saml2.binding.decoding.BaseSAML2MessageDecoder
org.opensaml.saml2.binding.decoding.HTTPPostDecoder
org.opensaml.saml2.binding.decoding.HTTPPostSimpleSignDecoder
- All Implemented Interfaces:
- SAMLMessageDecoder, MessageDecoder
public class HTTPPostSimpleSignDecoder
- extends HTTPPostDecoder
Message decoder implementing the SAML 2.0 HTTP POST-SimpleSign binding.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPPostSimpleSignDecoder
public HTTPPostSimpleSignDecoder()
- Constructor.
HTTPPostSimpleSignDecoder
public HTTPPostSimpleSignDecoder(ParserPool pool)
- Constructor.
- Parameters:
pool
- parser pool used to deserialize messages
getBindingURI
public String getBindingURI()
- Gets the SAML binding URI supported by this decoder.
- Specified by:
getBindingURI
in interface SAMLMessageDecoder
- Overrides:
getBindingURI
in class HTTPPostDecoder
- Returns:
- SAML binding URI supported by this decoder
isMessageSigned
protected boolean isMessageSigned(SAMLMessageContext messageContext)
- Determine whether the SAML message represented by the message context is digitally signed.
The default behavior is to examine whether an XML signature is present on the
SAML protocol message. Subclasses may augment or replace with binding-specific behavior.
- Overrides:
isMessageSigned
in class BaseSAMLMessageDecoder
- Parameters:
messageContext
- current message context
- Returns:
- true if the message is considered to be digitially signed, false otherwise
Copyright © 1999-2012. All Rights Reserved.