public class PolicyEnforcer extends Object implements org.apache.xml.security.stax.securityEvent.SecurityEventListener
Constructor and Description |
---|
PolicyEnforcer(List<OperationPolicy> operationPolicies,
String soapAction,
boolean initiator,
String actorOrRole,
int attachmentCount) |
PolicyEnforcer(List<OperationPolicy> operationPolicies,
String soapAction,
boolean initiator,
String actorOrRole,
int attachmentCount,
PolicyAsserter policyAsserter) |
Modifier and Type | Method and Description |
---|---|
void |
doFinal()
the final Policy validation to find a satisfied alternative
|
protected List<Assertable> |
getAssertableForAssertion(AbstractSecurityAssertion abstractSecurityAssertion) |
void |
registerSecurityEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) |
public PolicyEnforcer(List<OperationPolicy> operationPolicies, String soapAction, boolean initiator, String actorOrRole, int attachmentCount) throws WSSPolicyException
WSSPolicyException
public PolicyEnforcer(List<OperationPolicy> operationPolicies, String soapAction, boolean initiator, String actorOrRole, int attachmentCount, PolicyAsserter policyAsserter) throws WSSPolicyException
WSSPolicyException
protected List<Assertable> getAssertableForAssertion(AbstractSecurityAssertion abstractSecurityAssertion) throws WSSPolicyException
WSSPolicyException
public void registerSecurityEvent(org.apache.xml.security.stax.securityEvent.SecurityEvent securityEvent) throws WSSecurityException
registerSecurityEvent
in interface org.apache.xml.security.stax.securityEvent.SecurityEventListener
WSSecurityException
public void doFinal() throws WSSPolicyException
PolicyViolationException
- if no alternative could be satisfiedWSSPolicyException
Copyright © 2017 JBoss by Red Hat. All rights reserved.