Package com.sun.xml.wss.impl.policy.spi
Interface PolicyVerifier
-
- All Known Implementing Classes:
EncryptionPolicyVerifier,MessagePolicyVerifier,PolicyAlternativesVerifier,SignaturePolicyVerifier
public interface PolicyVerifierThis is an internal interface not exposed to developer.- Author:
- K.Venugopal@sun.com
-
-
Field Summary
Fields Modifier and Type Field Description static StringPOLICY_ALTERNATIVE_IDA concrete PolicyVerifier can indicate to the runtime the ID of the alternative that satisfied the incoming request's policy.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidverifyPolicy(SecurityPolicy recvdPolicy, SecurityPolicy configPolicy)
-
-
-
Field Detail
-
POLICY_ALTERNATIVE_ID
static final String POLICY_ALTERNATIVE_ID
A concrete PolicyVerifier can indicate to the runtime the ID of the alternative that satisfied the incoming request's policy. The ID is then used by the runtime to get the correct response policy for securing the response messages.- See Also:
- Constant Field Values
-
-
Method Detail
-
verifyPolicy
void verifyPolicy(SecurityPolicy recvdPolicy, SecurityPolicy configPolicy) throws PolicyViolationException
- Parameters:
configPolicy- Policy configured for the incoming message, can be a single MessagePolicy or PolicyAlternatives.recvdPolicy- policy inferred from the incoming message.- Throws:
com.sun.xml.wss.PolicyViolationException- when policy inferred from incoming message does not match with what is configured.PolicyViolationException
-
-