public class UnsolicitedSSODecoder extends BaseSAML2MessageDecoder implements SAMLMessageDecoder
This decoder understands and processes a set of defined HTTP request parameters representing a logical
SAML 2 SSO authentication request, and builds a corresponding AuthnRequest message.
This message is then stored in the SAMLMessageContext so that it may be processed
by other components (e.g. profile handler) that process standard AuthnRequest messages.
| コンストラクタと説明 |
|---|
UnsolicitedSSODecoder(IdentifierGenerator identifierGenerator)
Constructor.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected void |
doDecode(MessageContext messageContext)
Decodes a message, updating the message context.
|
String |
getBindingURI()
Gets the SAML binding URI supported by this decoder.
|
String |
getDefaultBinding()
Returns the default ACS binding.
|
protected String |
getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx)
Extract the message information which indicates to what receiver endpoint URI the
SAML message was intended to be delivered.
|
protected boolean |
isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
Determine whether the binding implemented by the decoder requires the presence within the message
of information indicating the intended message destination endpoint URI.
|
void |
setDefaultBinding(String binding)
Sets the default ACS binding.
|
decode, extractEntityId, extractRequestInfo, extractResponseInfo, populateMessageContext, populateMessageIdIssueInstantIssuer, populateRelyingPartyMetadatacheckEndpointURI, compareEndpointURIs, getActualReceiverEndpointURI, getURIComparator, isMessageSigned, setURIComparatorgetParserPool, logDecodedMessage, processSecurityPolicy, setParserPool, unmarshallMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdecodepublic UnsolicitedSSODecoder(IdentifierGenerator identifierGenerator)
identifierGenerator - the IdentifierGenerator instance to use.public String getBindingURI()
getBindingURI インタフェース内 SAMLMessageDecoderprotected boolean isIntendedDestinationEndpointURIRequired(SAMLMessageContext samlMsgCtx)
isIntendedDestinationEndpointURIRequired クラス内 BaseSAMLMessageDecodersamlMsgCtx - current SAML message contextprotected String getIntendedDestinationEndpointURI(SAMLMessageContext samlMsgCtx) throws MessageDecodingException
This SAML 2-specific implementation extracts the value of the protocol message Destination attribute.
getIntendedDestinationEndpointURI クラス内 BaseSAML2MessageDecodersamlMsgCtx - the SAML message context being processedMessageDecodingException - thrown if the message is not an instance of SAML message that
could be processed by the decoderpublic String getDefaultBinding()
public void setDefaultBinding(String binding)
binding - default binding URIprotected void doDecode(MessageContext messageContext) throws MessageDecodingException
doDecode クラス内 BaseMessageDecodermessageContext - current message contextMessageDecodingException - thrown if there is a problem decoding the messageCopyright © 2012. All Rights Reserved.