Java Code Examples for com.sun.xml.internal.ws.api.client.WSPortInfo#getPolicyMap()
The following examples show how to use
com.sun.xml.internal.ws.api.client.WSPortInfo#getPolicyMap() .
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: ManagedClientAssertion.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 2
Source File: ManagedClientAssertion.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 3
Source File: ManagedClientAssertion.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 4
Source File: ManagedClientAssertion.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 5
Source File: ManagedClientAssertion.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 6
Source File: ManagedClientAssertion.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 7
Source File: ManagedClientAssertion.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }
Example 8
Source File: ManagedClientAssertion.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Return ManagedClient assertion if there is one associated with the client. * * @param portInfo The client PortInfo. * @return The policy assertion if found. Null otherwise. * @throws WebServiceException If computing the effective policy of the port failed. */ public static ManagedClientAssertion getAssertion(WSPortInfo portInfo) throws WebServiceException { if (portInfo == null) return null; LOGGER.entering(portInfo); // getPolicyMap is deprecated because it is only supposed to be used by Metro code // and not by other clients. @SuppressWarnings("deprecation") final PolicyMap policyMap = portInfo.getPolicyMap(); final ManagedClientAssertion assertion = ManagementAssertion.getAssertion(MANAGED_CLIENT_QNAME, policyMap, portInfo.getServiceName(), portInfo.getPortName(), ManagedClientAssertion.class); LOGGER.exiting(assertion); return assertion; }