public abstract class BaseSAML1MessageEncoder extends org.opensaml.ws.message.encoder.BaseMessageEncoder implements SAMLMessageEncoder
| Constructor and Description |
|---|
BaseSAML1MessageEncoder() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAllowedURLSchemes()
Gets the unmodifiable list of schemes allowed to appear in URLs related to the encoded message.
|
protected org.opensaml.util.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 |
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, waitgetBindingURIpublic List<String> getAllowedURLSchemes()
public void setAllowedURLSchemes(String[] schemes)
schemes - URL schemes allowed to appear in a messageprotected org.opensaml.util.URLBuilder getEndpointURL(SAMLMessageContext messageContext) throws org.opensaml.ws.message.encoder.MessageEncodingException
Response and the relying
party endpoint contains a response location then that location is returned otherwise the normal endpoint location
is returned.messageContext - current message contextorg.opensaml.ws.message.encoder.MessageEncodingException - throw if no relying party endpoint is availableprotected void signMessage(SAMLMessageContext messageContext) throws org.opensaml.ws.message.encoder.MessageEncodingException
SignableSAMLObject and this encoder has signing credentials.messageContext - current message contextorg.opensaml.ws.message.encoder.MessageEncodingException - thrown if there is a problem preparing the signature for signingCopyright © 1999–2015. All rights reserved.