|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opensaml.saml1.binding.security.SAML1ProtocolMessageRuleFactory.SAML1ProtocolMessageRule
public class SAML1ProtocolMessageRuleFactory.SAML1ProtocolMessageRule
An implementation of SecurityPolicyRule
which processes SAML 1 messages and extracts relevant information
out for use in other rules.
Constructor Summary | |
---|---|
SAML1ProtocolMessageRuleFactory.SAML1ProtocolMessageRule()
|
Method Summary | |
---|---|
void |
evaluate(javax.servlet.ServletRequest request,
XMLObject message,
SecurityPolicyContext context)
Evaluates the rule against the given request and message. |
protected void |
extractRequestInfo(SAMLSecurityPolicyContext samlContext,
RequestAbstractType request)
Extract information from a SAML RequestAbstractType message. |
protected void |
extractResponseInfo(SAMLSecurityPolicyContext samlContext,
ResponseAbstractType response)
Extract information from a SAML StatusResponse message. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SAML1ProtocolMessageRuleFactory.SAML1ProtocolMessageRule()
Method Detail |
---|
public void evaluate(javax.servlet.ServletRequest request, XMLObject message, SecurityPolicyContext context) throws SecurityPolicyException
evaluate
in interface SecurityPolicyRule<javax.servlet.ServletRequest>
request
- the protocol requestmessage
- the incoming messagecontext
- the security policy context to use for evaluation and storage of related state info
SecurityPolicyException
- thrown if the request/message do not meet the requirements of this ruleprotected void extractResponseInfo(SAMLSecurityPolicyContext samlContext, ResponseAbstractType response) throws SecurityPolicyException
samlContext
- the security policy context in which to store informationresponse
- the SAML message to process
SecurityPolicyException
- thrown if the assertions within the response contain differening issuer IDsprotected void extractRequestInfo(SAMLSecurityPolicyContext samlContext, RequestAbstractType request)
samlContext
- the security policy context in which to store informationrequest
- the SAML message to process
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |