|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.common.binding.decoding.impl.AbstractMessageDecoder<javax.servlet.http.HttpServletRequest>
org.opensaml.common.binding.decoding.impl.AbstractHTTPMessageDecoder
org.opensaml.saml2.binding.decoding.HTTPArtifactDecoder
public class HTTPArtifactDecoder
SAML 2 Artifact Binding decoder, support both HTTP GET and POST.
Constructor Summary | |
---|---|
HTTPArtifactDecoder()
|
Method Summary | |
---|---|
void |
decode()
Decodes a SAML message in a binding specific manner. |
protected SAMLArtifact |
decodeArtifact()
Extracts the Base64 encoded from the request, decodes it, and builds a SAMLArtifact from it. |
SAMLArtifact |
getArtifact()
Gets the artifact created for the given SAML message. |
SAMLArtifactFactory |
getArtifactFactory()
Gets the artifact factory used to create artifacts for this encoder. |
java.lang.String |
getBindingURI()
Gets the binding URI supported by this encoder. |
void |
setArtifactFactory(SAMLArtifactFactory factory)
Sets the artifact factory used to create artifacts for this encoder. |
Methods inherited from class org.opensaml.common.binding.decoding.impl.AbstractHTTPMessageDecoder |
---|
getMethod, getRelayState, setHttpMethod, setRelayState |
Methods inherited from class org.opensaml.common.binding.decoding.impl.AbstractMessageDecoder |
---|
evaluateSecurityPolicy, getMetadataProvider, getParserPool, getRequest, getSAMLMessage, getSecurityPolicy, getTrustEngine, setMetadataProvider, setParserPool, setRequest, setSAMLMessage, setSecurityPolicy, setTrustEngine, unmarshallMessage |
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.decoding.MessageDecoder |
---|
getMetadataProvider, getRequest, getSAMLMessage, getSecurityPolicy, getTrustEngine, setMetadataProvider, setRequest, setSecurityPolicy, setTrustEngine |
Constructor Detail |
---|
public HTTPArtifactDecoder()
Method Detail |
---|
public java.lang.String getBindingURI()
public SAMLArtifactFactory getArtifactFactory()
public void setArtifactFactory(SAMLArtifactFactory factory)
factory
- artifact factory used to create artifacts for this encoderpublic SAMLArtifact getArtifact()
public void decode() throws BindingException
BindingException
- thrown if the message can not be decodedprotected SAMLArtifact decodeArtifact() throws BindingException
SAMLArtifact
from it.
BindingException
- thrown if the SAML artifact could not be created
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |