Uses of Class
com.sun.xml.ws.policy.Policy
Packages that use Policy
Package
Description
The root package of public policy API.
The part of public policy API that defines the classes and interfaces dealing with
the policy tree structure (policy source model) creation and manipulation.
Implements utility routines to parse external policy attachments as defined
by WS-PolicyAttachment.
-
Uses of Policy in com.sun.xml.ws.api.policy
Methods in com.sun.xml.ws.api.policy with parameters of type Policy -
Uses of Policy in com.sun.xml.ws.config.management.server
Constructor parameters in com.sun.xml.ws.config.management.server with type arguments of type Policy -
Uses of Policy in com.sun.xml.ws.policy
Subclasses of Policy in com.sun.xml.ws.policyModifier and TypeClassDescriptionfinal classA special policy implementation that assures that only no or single policy alternative is possible within this type of policy.Methods in com.sun.xml.ws.policy that return PolicyModifier and TypeMethodDescriptionstatic PolicyPolicy.createEmptyPolicy()The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static PolicyPolicy.createEmptyPolicy(NamespaceVersion nsVersion, String name, String policyId) The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static PolicyPolicy.createEmptyPolicy(String name, String policyId) The factory method creates an immutable policy instance which represents a 'anything allowed' policy expression.static PolicyPolicy.createNullPolicy()The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static PolicyPolicy.createNullPolicy(NamespaceVersion nsVersion, String name, String policyId) The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static PolicyPolicy.createNullPolicy(String name, String policyId) The factory method creates an immutable policy instance which represents a 'nothing allowed' policy expression.static PolicyPolicy.createPolicy(NamespaceVersion nsVersion, String name, String policyId, Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysetsinput parameter.static PolicyPolicy.createPolicy(String name, String policyId, Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysetsinput parameter.static PolicyPolicy.createPolicy(Collection<AssertionSet> sets) The factory method creates an immutable policy instance which represents a policy expression with alternatives specified bysetsinput parameter.PolicySubject.getEffectivePolicy(PolicyMerger merger) Returns the effective policy of the subject, i.e.PolicyMap.getEndpointEffectivePolicy(PolicyMapKey key) PolicyMap.getFaultMessageEffectivePolicy(PolicyMapKey key) PolicyMap.getInputMessageEffectivePolicy(PolicyMapKey key) PolicyMap.getOperationEffectivePolicy(PolicyMapKey key) PolicyMap.getOutputMessageEffectivePolicy(PolicyMapKey key) PolicyMap.getServiceEffectivePolicy(PolicyMapKey key) Performs intersection on the input collection of policies and returns the resulting (intersected) policy.PolicyMerger.merge(Collection<Policy> policies) Takes collection of policies and merges them into a single policy using algorithm described in WS-PolicyAttachment specification.Methods in com.sun.xml.ws.policy that return types with arguments of type PolicyMethods in com.sun.xml.ws.policy with parameters of type PolicyModifier and TypeMethodDescriptionvoidAttaches another Policy instance to the policy subject.Performs intersection on the input collection of policies and returns the resulting (intersected) policy.voidEffectivePolicyModifier.setNewEffectivePolicyForEndpointScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the endpoint scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.voidEffectivePolicyModifier.setNewEffectivePolicyForFaultMessageScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the fault message scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.voidEffectivePolicyModifier.setNewEffectivePolicyForInputMessageScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the input message scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.voidEffectivePolicyModifier.setNewEffectivePolicyForOperationScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the operation scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.voidEffectivePolicyModifier.setNewEffectivePolicyForOutputMessageScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the output message scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.voidEffectivePolicyModifier.setNewEffectivePolicyForServiceScope(PolicyMapKey key, Policy newEffectivePolicy) Replaces current effective policy on the service scope (identified by akeyparameter) with the new efective policy provided as a second input parameter.Method parameters in com.sun.xml.ws.policy with type arguments of type PolicyModifier and TypeMethodDescriptionPolicyMerger.merge(Collection<Policy> policies) Takes collection of policies and merges them into a single policy using algorithm described in WS-PolicyAttachment specification.Constructors in com.sun.xml.ws.policy with parameters of type PolicyModifierConstructorDescriptionPolicySubject(Object subject, Policy policy) Constructs a policy subject instance.Constructor parameters in com.sun.xml.ws.policy with type arguments of type PolicyModifierConstructorDescriptionPolicySubject(Object subject, Collection<Policy> policies) Constructs a policy subject instance. -
Uses of Policy in com.sun.xml.ws.policy.sourcemodel
Methods in com.sun.xml.ws.policy.sourcemodel that return PolicyModifier and TypeMethodDescriptionPolicyModelTranslator.translate(PolicySourceModel model) The method translatesPolicySourceModelstructure into normalizedPolicyexpression.Methods in com.sun.xml.ws.policy.sourcemodel with parameters of type PolicyModifier and TypeMethodDescriptionprotected PolicySourceModelCreate an instance of the PolicySourceModel.abstract PolicySourceModelThis method translates aPolicyinto apolicy infoset. -
Uses of Policy in com.sun.xml.ws.policy.sourcemodel.attach
Methods in com.sun.xml.ws.policy.sourcemodel.attach that return types with arguments of type Policy -
Uses of Policy in com.sun.xml.ws.security.impl.policyconv
Constructors in com.sun.xml.ws.security.impl.policyconv with parameters of type PolicyModifierConstructorDescriptionXWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming) XWSSPolicyGenerator(Policy effectivePolicy, boolean isServer, boolean isIncoming, SecurityPolicyVersion spVersion) Creates a new instance of WSPolicyProcessorImpl -
Uses of Policy in com.sun.xml.ws.security.trust.elements
Methods in com.sun.xml.ws.security.trust.elements that return PolicyModifier and TypeMethodDescriptionWSTrustElementBase.getPolicy()Get the desired policy settings for the token if specified, null otherwiseMethods in com.sun.xml.ws.security.trust.elements with parameters of type Policy -
Uses of Policy in com.sun.xml.ws.security.trust.impl.elements
Methods in com.sun.xml.ws.security.trust.impl.elements that return PolicyModifier and TypeMethodDescriptionRequestSecurityTokenImpl.getPolicy()RequestSecurityTokenResponseImpl.getPolicy()Methods in com.sun.xml.ws.security.trust.impl.elements with parameters of type Policy -
Uses of Policy in com.sun.xml.ws.security.trust.impl.wssx.elements
Methods in com.sun.xml.ws.security.trust.impl.wssx.elements that return PolicyModifier and TypeMethodDescriptionRequestSecurityTokenImpl.getPolicy()RequestSecurityTokenResponseImpl.getPolicy()SecondaryParametersImpl.getPolicy()Methods in com.sun.xml.ws.security.trust.impl.wssx.elements with parameters of type Policy -
Uses of Policy in com.sun.xml.ws.tx.at.policy
Methods in com.sun.xml.ws.tx.at.policy that return PolicyModifier and TypeMethodDescriptionstatic PolicyAtPolicyCreator.createPolicy(String policyId, WsatNamespace version, Transactional.TransactionFlowType wsatFlowType, EjbTransactionType ejbTat) -
Uses of Policy in com.sun.xml.wss.jaxws.impl
Fields in com.sun.xml.wss.jaxws.impl declared as PolicyModifier and TypeFieldDescriptionprotected PolicySecurityTubeBase.bpMSPprotected PolicySecurityTubeBase.wsitConfigMethods in com.sun.xml.wss.jaxws.impl that return PolicyModifier and TypeMethodDescriptionprotected PolicySecurityTubeBase.getEffectiveBootstrapPolicy(NestedPolicy bp) RMPolicyResolver.getOperationLevelPolicy()Methods in com.sun.xml.wss.jaxws.impl with parameters of type PolicyModifier and TypeMethodDescriptionprotected voidSecurityClientTube.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidSecurityServerTube.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract voidSecurityTubeBase.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected SecurityPolicyHolderSecurityClientTube.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderSecurityServerTube.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract SecurityPolicyHolderSecurityTubeBase.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected voidSecurityClientTube.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidSecurityServerTube.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected abstract voidSecurityTubeBase.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidSecurityClientTube.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidSecurityServerTube.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract voidSecurityTubeBase.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected SecurityPolicyHolderSecurityClientTube.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderSecurityServerTube.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) private Packet addAddressingHeaders(Packet packet, String relatesTo, String action){ AddressingBuilder builder = AddressingBuilder.newInstance(); AddressingProperties ap = builder.newAddressingProperties(); try{ // Action ap.setAction(builder.newURI(new URI(action))); // RelatesTo Relationship[] rs = new Relationship[]{builder.newRelationship(new URI(relatesTo))}; ap.setRelatesTo(rs); // To ap.setTo(builder.newURI(new URI(builder.newAddressingConstants().getAnonymousURI()))); } catch (URISyntaxException e) { throw new RuntimeException("Exception when adding Addressing Headers"); } WsaRuntimeFactory fac = WsaRuntimeFactory.newInstance(ap.getNamespaceURI(), pipeConfig.getWSDLModel(), pipeConfig.getBinding()); fac.writeHeaders(packet, ap); packet.invocationProperties .put(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, ap); return packet; }protected abstract SecurityPolicyHolderSecurityTubeBase.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected voidSecurityClientTube.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidSecurityServerTube.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected abstract voidSecurityTubeBase.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidSecurityTubeBase.buildProtocolPolicy(Policy endpointPolicy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderSecurityTubeBase.constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming) protected SecurityPolicyHolderSecurityTubeBase.constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) protected ArrayList<PolicyAssertion> -
Uses of Policy in com.sun.xml.wss.provider.wsit
Fields in com.sun.xml.wss.provider.wsit declared as PolicyModifier and TypeFieldDescriptionprotected PolicyPolicyAlternativeHolder.bpMSPprotected PolicyWSITAuthContextBase.bpMSPMethods in com.sun.xml.wss.provider.wsit that return PolicyModifier and TypeMethodDescriptionprotected PolicyWSITAuthContextBase.getEffectiveBootstrapPolicy(NestedPolicy bp) Methods in com.sun.xml.wss.provider.wsit with parameters of type PolicyModifier and TypeMethodDescriptionprotected abstract voidWSITAuthContextBase.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidWSITClientAuthContext.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidWSITServerAuthContext.addIncomingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolderWSITAuthContextBase.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderWSITClientAuthContext.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderWSITServerAuthContext.addIncomingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract voidWSITAuthContextBase.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidWSITClientAuthContext.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidWSITServerAuthContext.addIncomingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected abstract voidWSITAuthContextBase.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidWSITClientAuthContext.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected voidWSITServerAuthContext.addOutgoingFaultPolicy(Policy effectivePolicy, SecurityPolicyHolder sph, WSDLFault fault) protected abstract SecurityPolicyHolderWSITAuthContextBase.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderWSITClientAuthContext.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderWSITServerAuthContext.addOutgoingMP(WSDLBoundOperation operation, Policy policy, PolicyAlternativeHolder ph) protected abstract voidWSITAuthContextBase.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidWSITClientAuthContext.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidWSITServerAuthContext.addOutgoingProtocolPolicy(Policy effectivePolicy, String protocol, PolicyAlternativeHolder ph) protected voidWSITAuthContextBase.buildProtocolPolicy(Policy endpointPolicy, PolicyAlternativeHolder ph) protected SecurityPolicyHolderWSITAuthContextBase.constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming) protected SecurityPolicyHolderWSITAuthContextBase.constructPolicyHolder(Policy effectivePolicy, boolean isServer, boolean isIncoming, boolean ignoreST) protected ArrayList<PolicyAssertion>Constructors in com.sun.xml.wss.provider.wsit with parameters of type PolicyModifierConstructorDescriptionPolicyAlternativeHolder(AssertionSet assertions, SecurityPolicyVersion sv, Policy bpMSP)