com.sun.xml.internal.ws.policy.spi.PolicyAssertionCreator Java Examples
The following examples show how to use
com.sun.xml.internal.ws.policy.spi.PolicyAssertionCreator.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PolicyModelTranslator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #2
Source File: ManagementAssertionCreator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #3
Source File: PolicyModelTranslator.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #4
Source File: ManagementAssertionCreator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #5
Source File: PolicyModelTranslator.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #6
Source File: ManagementAssertionCreator.java From hottub with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #7
Source File: PolicyModelTranslator.java From hottub with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #8
Source File: ManagementAssertionCreator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #9
Source File: PolicyModelTranslator.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #10
Source File: ManagementAssertionCreator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #11
Source File: PolicyModelTranslator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #12
Source File: ManagementAssertionCreator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #13
Source File: PolicyModelTranslator.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #14
Source File: ManagementAssertionCreator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #15
Source File: PolicyModelTranslator.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
private PolicyAssertion createPolicyAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative) throws AssertionCreationException { final String assertionNamespace = data.getName().getNamespaceURI(); final PolicyAssertionCreator domainSpecificPAC = assertionCreators.get(assertionNamespace); if (domainSpecificPAC == null) { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } else { return domainSpecificPAC.createAssertion(data, assertionParameters, nestedAlternative, defaultCreator); } }
Example #16
Source File: ManagementAssertionCreator.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public PolicyAssertion createAssertion(AssertionData data, Collection<PolicyAssertion> assertionParameters, AssertionSet nestedAlternative, PolicyAssertionCreator defaultCreator) throws AssertionCreationException { final QName name = data.getName(); if (ManagedServiceAssertion.MANAGED_SERVICE_QNAME.equals(name)) { return new ManagedServiceAssertion(data, assertionParameters); } else if (ManagedClientAssertion.MANAGED_CLIENT_QNAME.equals(name)) { return new ManagedClientAssertion(data, assertionParameters); } else { return defaultCreator.createAssertion(data, assertionParameters, nestedAlternative, null); } }
Example #17
Source File: DefaultPolicyAssertionCreator.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #18
Source File: DefaultPolicyAssertionCreator.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #19
Source File: DefaultPolicyAssertionCreator.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #20
Source File: DefaultPolicyAssertionCreator.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #21
Source File: DefaultPolicyAssertionCreator.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #22
Source File: DefaultPolicyAssertionCreator.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #23
Source File: DefaultPolicyAssertionCreator.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }
Example #24
Source File: DefaultPolicyAssertionCreator.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
/** * See {@link PolicyAssertionCreator#createAssertion(AssertionData, Collection, AssertionSet, PolicyAssertionCreator) method documentation in interface} */ public PolicyAssertion createAssertion(final AssertionData data, final Collection<PolicyAssertion> assertionParameters, final AssertionSet nestedAlternative, final PolicyAssertionCreator defaultCreator) throws AssertionCreationException { return new DefaultPolicyAssertion(data, assertionParameters, nestedAlternative); }