public abstract class BaseSAML2MessageEncoder extends BaseMessageEncoder implements SAMLMessageEncoder
| コンストラクタと説明 |
|---|
BaseSAML2MessageEncoder() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
protected boolean |
checkRelayState(String relayState)
Checks that the relay state is 80 bytes or less if it is not null.
|
List<String> |
getAllowedURLSchemes()
Gets the unmodifiable list of schemes allowed to appear in URLs related to the encoded message.
|
protected URLBuilder |
getEndpointURL(SAMLMessageContext messageContext)
Gets the response URL from the relying party endpoint.
|
void |
setAllowedURLSchemes(String[] schemes)
Sets the list of list of schemes allowed to appear in URLs related to the encoded message.
|
protected void |
setResponseDestination(SAMLObject outboundMessage,
String endpointURL)
Sets the destination attribute on the outbound message if it is a
StatusResponseType message. |
protected void |
signMessage(SAMLMessageContext messageContext)
Signs the given SAML message if it a
SignableSAMLObject and this encoder has signing credentials. |
doEncode, encode, logEncodedMessage, marshallMessageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBindingURIencode, providesMessageConfidentiality, providesMessageIntegritypublic List<String> getAllowedURLSchemes()
public void setAllowedURLSchemes(String[] schemes)
schemes - URL schemes allowed to appear in a messageprotected URLBuilder getEndpointURL(SAMLMessageContext messageContext) throws MessageEncodingException
StatusResponseType and the relying
party endpoint contains a response location then that location is returned otherwise the normal endpoint location
is returned.messageContext - current message contextMessageEncodingException - throw if no relying party endpoint is availableprotected boolean checkRelayState(String relayState)
relayState - relay state to checkprotected void setResponseDestination(SAMLObject outboundMessage, String endpointURL)
StatusResponseType message.outboundMessage - outbound SAML messageendpointURL - destination endpointprotected void signMessage(SAMLMessageContext messageContext) throws MessageEncodingException
SignableSAMLObject and this encoder has signing credentials.messageContext - current message contextMessageEncodingException - thrown if there is a problem marshalling or signing the outbound messageCopyright © 2012. All Rights Reserved.