public abstract class BaseSAML1MessageEncoder extends 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 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, marshallMessage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBindingURI
encode, providesMessageConfidentiality, providesMessageIntegrity
public List<String> getAllowedURLSchemes()
public void setAllowedURLSchemes(String[] schemes)
schemes
- URL schemes allowed to appear in a messageprotected URLBuilder getEndpointURL(SAMLMessageContext messageContext) throws 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 contextMessageEncodingException
- throw if no relying party endpoint is availableprotected void signMessage(SAMLMessageContext messageContext) throws MessageEncodingException
SignableSAMLObject
and this encoder has signing credentials.messageContext
- current message contextMessageEncodingException
- thrown if there is a problem preparing the signature for signingCopyright © 2018 JBoss by Red Hat. All rights reserved.