Uses of Class
com.sun.xml.ws.policy.Policy
-
Packages that use Policy Package Description com.sun.xml.ws.api.policy com.sun.xml.ws.config.management.server com.sun.xml.ws.policy The root package of public policy API.com.sun.xml.ws.policy.sourcemodel The part of public policy API that defines the classes and interfaces dealing with the policy tree structure (policy source model) creation and manipulation.com.sun.xml.ws.policy.sourcemodel.attach com.sun.xml.ws.security.impl.policyconv com.sun.xml.ws.security.trust.elements com.sun.xml.ws.security.trust.impl.elements com.sun.xml.ws.security.trust.impl.wssx.elements com.sun.xml.ws.tx.at.policy com.sun.xml.wss.jaxws.impl com.sun.xml.wss.provider.wsit -
-
Uses of Policy in com.sun.xml.ws.api.policy
Methods in com.sun.xml.ws.api.policy with parameters of type Policy Modifier and Type Method Description protected PolicySourceModelModelGenerator.SourceModelCreator. create(Policy 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 Constructor Description ManagementWSDLPatcher(Map<URI,Policy> urnToPolicy) -
Uses of Policy in com.sun.xml.ws.policy
Subclasses of Policy in com.sun.xml.ws.policy Modifier and Type Class Description classNestedPolicyA 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 Policy Modifier and Type Method Description static 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.PolicyPolicySubject. getEffectivePolicy(PolicyMerger merger)Returns the effective policy of the subject, i.e.PolicyPolicyMap. getEndpointEffectivePolicy(PolicyMapKey key)PolicyPolicyMap. getFaultMessageEffectivePolicy(PolicyMapKey key)PolicyPolicyMap. getInputMessageEffectivePolicy(PolicyMapKey key)PolicyPolicyMap. getOperationEffectivePolicy(PolicyMapKey key)PolicyPolicyMap. getOutputMessageEffectivePolicy(PolicyMapKey key)PolicyPolicyMap. getServiceEffectivePolicy(PolicyMapKey key)PolicyPolicyIntersector. intersect(Policy... policies)Performs intersection on the input collection of policies and returns the resulting (intersected) policy.PolicyPolicyMerger. 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 Policy Modifier and Type Method Description Iterator<Policy>PolicyMap. iterator()Methods in com.sun.xml.ws.policy with parameters of type Policy Modifier and Type Method Description voidPolicySubject. attach(Policy policy)Attaches another Policy instance to the policy subject.PolicyPolicyIntersector. intersect(Policy... policies)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 Policy Modifier and Type Method Description PolicyPolicyMerger. 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 Policy Constructor Description PolicySubject(Object subject, Policy policy)Constructs a policy subject instance.Constructor parameters in com.sun.xml.ws.policy with type arguments of type Policy Constructor Description PolicySubject(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 Policy Modifier and Type Method Description PolicyPolicyModelTranslator. translate(PolicySourceModel model)The method translatesPolicySourceModelstructure into normalizedPolicyexpression.Methods in com.sun.xml.ws.policy.sourcemodel with parameters of type Policy Modifier and Type Method Description protected PolicySourceModelPolicyModelGenerator.PolicySourceModelCreator. create(Policy policy)Create an instance of the PolicySourceModel.abstract PolicySourceModelPolicyModelGenerator. translate(Policy policy)This 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 Modifier and Type Method Description static Map<URI,Policy>ExternalAttachmentsUnmarshaller. unmarshal(Reader source) -
Uses of Policy in com.sun.xml.ws.security.impl.policyconv
Constructors in com.sun.xml.ws.security.impl.policyconv with parameters of type Policy Constructor Description XWSSPolicyGenerator(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 Policy Modifier and Type Method Description PolicyWSTrustElementBase. 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 Modifier and Type Method Description voidWSTrustElementBase. setPolicy(Policy policy)Set the desired policy settings for the requested token -
Uses of Policy in com.sun.xml.ws.security.trust.impl.elements
Methods in com.sun.xml.ws.security.trust.impl.elements that return Policy Modifier and Type Method Description PolicyRequestSecurityTokenImpl. getPolicy()PolicyRequestSecurityTokenResponseImpl. getPolicy()Methods in com.sun.xml.ws.security.trust.impl.elements with parameters of type Policy Modifier and Type Method Description voidRequestSecurityTokenImpl. setPolicy(Policy policy)voidRequestSecurityTokenResponseImpl. setPolicy(Policy 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 Policy Modifier and Type Method Description PolicyRequestSecurityTokenImpl. getPolicy()PolicyRequestSecurityTokenResponseImpl. getPolicy()PolicySecondaryParametersImpl. getPolicy()Methods in com.sun.xml.ws.security.trust.impl.wssx.elements with parameters of type Policy Modifier and Type Method Description voidRequestSecurityTokenImpl. setPolicy(Policy policy)voidRequestSecurityTokenResponseImpl. setPolicy(Policy policy)voidSecondaryParametersImpl. setPolicy(Policy policy) -
Uses of Policy in com.sun.xml.ws.tx.at.policy
Methods in com.sun.xml.ws.tx.at.policy that return Policy Modifier and Type Method Description static 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 Policy Modifier and Type Field Description protected PolicySecurityTubeBase. bpMSPprotected PolicySecurityTubeBase. wsitConfigMethods in com.sun.xml.wss.jaxws.impl that return Policy Modifier and Type Method Description protected PolicySecurityTubeBase. getEffectiveBootstrapPolicy(NestedPolicy bp)PolicyRMPolicyResolver. getOperationLevelPolicy()Methods in com.sun.xml.wss.jaxws.impl with parameters of type Policy Modifier and Type Method Description protected 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>SecurityTubeBase. getTokens(Policy policy) -
Uses of Policy in com.sun.xml.wss.provider.wsit
Fields in com.sun.xml.wss.provider.wsit declared as Policy Modifier and Type Field Description protected PolicyPolicyAlternativeHolder. bpMSPprotected PolicyWSITAuthContextBase. bpMSPMethods in com.sun.xml.wss.provider.wsit that return Policy Modifier and Type Method Description protected PolicyWSITAuthContextBase. getEffectiveBootstrapPolicy(NestedPolicy bp)Methods in com.sun.xml.wss.provider.wsit with parameters of type Policy Modifier and Type Method Description protected 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>WSITAuthContextBase. getTokens(Policy policy)Constructors in com.sun.xml.wss.provider.wsit with parameters of type Policy Constructor Description PolicyAlternativeHolder(AssertionSet assertions, SecurityPolicyVersion sv, Policy bpMSP)
-