public class PolicyEnforcerFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
LOG |
| Modifier | Constructor and Description |
|---|---|
protected |
PolicyEnforcerFactory(List<org.apache.neethi.builders.AssertionBuilder<Element>> customAssertionBuilders) |
| Modifier and Type | Method and Description |
|---|---|
static PolicyEnforcerFactory |
newInstance(Document document) |
static PolicyEnforcerFactory |
newInstance(Document document,
List<org.apache.neethi.builders.AssertionBuilder<Element>> customAssertionBuilders) |
static PolicyEnforcerFactory |
newInstance(URL wsdlUrl) |
static PolicyEnforcerFactory |
newInstance(URL wsdlUrl,
List<org.apache.neethi.builders.AssertionBuilder<Element>> customAssertionBuilders) |
PolicyEnforcer |
newPolicyEnforcer(String soapAction,
boolean initiator,
String roleOrActor,
int attachmentCount)
creates a new PolicyEnforcer instance
|
public static PolicyEnforcerFactory newInstance(URL wsdlUrl) throws org.apache.wss4j.common.WSSPolicyException
org.apache.wss4j.common.WSSPolicyExceptionpublic static PolicyEnforcerFactory newInstance(URL wsdlUrl, List<org.apache.neethi.builders.AssertionBuilder<Element>> customAssertionBuilders) throws org.apache.wss4j.common.WSSPolicyException
org.apache.wss4j.common.WSSPolicyExceptionpublic static PolicyEnforcerFactory newInstance(Document document) throws org.apache.wss4j.common.WSSPolicyException
org.apache.wss4j.common.WSSPolicyExceptionpublic static PolicyEnforcerFactory newInstance(Document document, List<org.apache.neethi.builders.AssertionBuilder<Element>> customAssertionBuilders) throws org.apache.wss4j.common.WSSPolicyException
org.apache.wss4j.common.WSSPolicyExceptionpublic PolicyEnforcer newPolicyEnforcer(String soapAction, boolean initiator, String roleOrActor, int attachmentCount) throws org.apache.wss4j.common.WSSPolicyException
soapAction - The requested soapAction of the actual requestinitiator - Boolean flag to tell the engine if it is running in client or server moderoleOrActor - The actor or role of the security processing. Must be set to the same value
as WSSSecurityProperties#setActor()attachmentCount - The number of Attachments received in the messageorg.apache.wss4j.common.WSSPolicyExceptionCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.