public interface PolicyVerifier
| Modifier and Type | Field and Description |
|---|---|
static String |
POLICY_ALTERNATIVE_ID
A concrete PolicyVerifier can indicate to the runtime the
ID of the alternative that satisfied the incoming request's
policy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
verifyPolicy(SecurityPolicy recvdPolicy,
SecurityPolicy configPolicy) |
static final String POLICY_ALTERNATIVE_ID
void verifyPolicy(SecurityPolicy recvdPolicy, SecurityPolicy configPolicy) throws PolicyViolationException
configPolicy - Policy configured for the incoming message, can be
a single MessagePolicy or PolicyAlternatives.recvdPolicy - policy inferred from the incoming message.com.sun.xml.wss.PolicyViolationException - when policy inferred from incoming message does not match with what
is configured.PolicyViolationExceptionCopyright © 2005–2018 Oracle Corporation. All rights reserved.