|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
RequestType
- type of incoming protocol requestpublic interface MessageDecoder<RequestType extends javax.servlet.ServletRequest>
Decodes a SAML message in a binding specific mannger. The decode() method should be run before any accessor methods are called.
Method Summary | |
---|---|
void |
decode()
Decodes a SAML message in a binding specific manner. |
java.lang.String |
getBindingURI()
Gets the binding URI supported by this encoder. |
MetadataProvider |
getMetadataProvider()
Gets the metadata provider used to lookup information about the issuer. |
RequestType |
getRequest()
Gets the request to decode. |
SAMLObject |
getSAMLMessage()
Gets the SAML message that was received and decoded. |
SAMLSecurityPolicy |
getSecurityPolicy()
Gets the security policy to apply to the request and its payload. |
TrustEngine |
getTrustEngine()
Gets the trust engine used to verify the credentials of a request. |
void |
setMetadataProvider(MetadataProvider metadataProvider)
Sets the metadata provider used to lookup information about the issuer. |
void |
setRequest(RequestType request)
Sets the request to decode. |
void |
setSecurityPolicy(SAMLSecurityPolicy policy)
Sets the security policy to apply to the request and its payload. |
void |
setTrustEngine(TrustEngine trustEngine)
Sets the the trust engine used to verify the credentials of a request. |
Method Detail |
---|
java.lang.String getBindingURI()
RequestType getRequest()
void setRequest(RequestType request)
request
- request to decodeMetadataProvider getMetadataProvider()
void setMetadataProvider(MetadataProvider metadataProvider)
metadataProvider
- metadata provider used to lookup information about the issuerTrustEngine getTrustEngine()
SAMLSecurityPolicy getSecurityPolicy()
void setSecurityPolicy(SAMLSecurityPolicy policy)
policy
- security policy to apply to the request and its payloadvoid setTrustEngine(TrustEngine trustEngine)
trustEngine
- the trust engine used to verify the credentials of a requestvoid decode() throws BindingException, SecurityPolicyException
BindingException
- thrown if the message can not be decoded
SecurityPolicyException
- thrown if the decoded message does not meet the required security policySAMLObject getSAMLMessage()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |