|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.common.binding.encoding.impl.AbstractMessageEncoder<javax.servlet.http.HttpServletResponse>
org.opensaml.common.binding.encoding.impl.AbstractHTTPMessageEncoder
org.opensaml.saml2.binding.encoding.AbstractSAML2HTTPMessageEncoder
public abstract class AbstractSAML2HTTPMessageEncoder
Base class for SAML 2 HTTP message encoders.
Constructor Summary | |
---|---|
AbstractSAML2HTTPMessageEncoder()
|
Method Summary | |
---|---|
protected boolean |
checkRelayState()
Checks that the relay state is 80 bytes or less. |
protected java.lang.String |
getEndpointURL()
Gets the response URL from the relying party endpoint. |
protected void |
signMessage()
Signs the given SAML message if it a SignableSAMLObject and this encoder has signing credentials. |
Methods inherited from class org.opensaml.common.binding.encoding.impl.AbstractHTTPMessageEncoder |
---|
getBase64EncodedMessage, getEncodeRelayState, getRelayState, initializeResponse, setRelayState |
Methods inherited from class org.opensaml.common.binding.encoding.impl.AbstractMessageEncoder |
---|
getIssuer, getMetadataProvider, getRelyingParty, getRelyingPartyEndpoint, getRelyingPartyRole, getResponse, getSamlMessage, getSigningCredential, marshallMessage, setIssuer, setMetadataProvider, setRelyingParty, setRelyingPartyEndpoint, setRelyingPartyRole, setResponse, setSamlMessage, setSigningCredential |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.common.binding.encoding.MessageEncoder |
---|
encode, getBindingURI, getIssuer, getMetadataProvider, getRelyingParty, getRelyingPartyEndpoint, getRelyingPartyRole, getResponse, getSamlMessage, getSigningCredential, setIssuer, setMetadataProvider, setRelyingParty, setRelyingPartyEndpoint, setRelyingPartyRole, setResponse, setSamlMessage, setSigningCredential |
Constructor Detail |
---|
public AbstractSAML2HTTPMessageEncoder()
Method Detail |
---|
protected java.lang.String getEndpointURL() throws BindingException
Response
and the relying
party endpoint contains a response location then that location is returned otherwise the normal endpoint location
is returned.
BindingException
- throw if no relying party endpoint is availableprotected boolean checkRelayState() throws BindingException
BindingException
- thrown if the relay state is larger than 80 bytesprotected void signMessage()
SignableSAMLObject
and this encoder has signing credentials.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |