public class PolicyMapUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static PolicyLogger |
LOGGER |
private static PolicyMerger |
MERGER |
| Modifier | Constructor and Description |
|---|---|
private |
PolicyMapUtil()
Prevent instantiation.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
insertPolicies(PolicyMap policyMap,
java.util.Collection<PolicySubject> policySubjects,
javax.xml.namespace.QName serviceName,
javax.xml.namespace.QName portName)
Inserts all PolicySubjects of type WsdlBindingSubject into the given policy map.
|
static void |
rejectAlternatives(PolicyMap map)
Throw an exception if the policy map contains any policy with at least two
policy alternatives.
|
private static final PolicyLogger LOGGER
private static final PolicyMerger MERGER
public static void rejectAlternatives(PolicyMap map) throws PolicyException
map - policy map to be processedPolicyException - Thrown if the policy map contains at least one policy
with more than one policy alternativepublic static void insertPolicies(PolicyMap policyMap, java.util.Collection<PolicySubject> policySubjects, javax.xml.namespace.QName serviceName, javax.xml.namespace.QName portName) throws PolicyException
policyMap - The policy mappolicySubjects - The policy subjects. The actual subject must have the
type WsdlBindingSubject, otherwise it will not be processed.serviceName - The name of the current WSDL serviceportName - The name of the current WSDL portPolicyException - Thrown if the effective policy of a policy subject
could not be computed