public class SecureProxyServiceFactoryImpl extends Object implements ProxyServiceFactory
Modifier and Type | Field and Description |
---|---|
protected static String |
ADDRESSING_NAMESPACE |
Constructor and Description |
---|
SecureProxyServiceFactoryImpl(STSClientConfiguration stsClientConfig) |
Modifier and Type | Method and Description |
---|---|
protected String |
appendWsdlExtension(String url) |
protected void |
configureProxyFactoryProperties(org.apache.cxf.jaxws.JaxWsProxyFactoryBean clientFactory,
org.apache.cxf.ws.security.tokenstore.SecurityToken token,
ddf.security.soap.impl.SecureProxyServiceFactoryImpl.WebServiceProperties wsp)
Configures the JaxWsProxyFactoryBean with the properties that have been set for the particular
source.
|
protected org.apache.cxf.ws.security.trust.STSClient |
configureSTSClient(org.apache.cxf.Bus bus)
Returns a new STSClient object configured with the properties that have been set.
|
<ProxyServiceType> |
create(boolean requiresCredentials,
Class<ProxyServiceType> serviceClass,
QName serviceName,
QName endpointName,
String endpointAddress,
Serializable securityAssertion)
Creates a service proxy object that implements the specified Service Endpoing Interface.
|
protected static final String ADDRESSING_NAMESPACE
public SecureProxyServiceFactoryImpl(STSClientConfiguration stsClientConfig)
public <ProxyServiceType> ProxyServiceType create(boolean requiresCredentials, Class<ProxyServiceType> serviceClass, QName serviceName, QName endpointName, String endpointAddress, Serializable securityAssertion) throws UnsupportedOperationException
create
in interface ProxyServiceFactory
requiresCredentials
- Indicates that security should be configured for this service proxyserviceClass
- The Java class object representing the interface to be proxiedserviceName
- The name of the service being proxiedendpointName
- The name corresponding to the endpointendpointAddress
- The url for the service being proxiedsecurityAssertion
- any other properties necessary for proxy such as security objects or
assertionsUnsupportedOperationException
- if the implementation cannot verify the credentials
requested in the requiresCredentials
paramprotected org.apache.cxf.ws.security.trust.STSClient configureSTSClient(org.apache.cxf.Bus bus)
bus
- - CXF bus to initialize STSClient withprotected void configureProxyFactoryProperties(org.apache.cxf.jaxws.JaxWsProxyFactoryBean clientFactory, org.apache.cxf.ws.security.tokenstore.SecurityToken token, ddf.security.soap.impl.SecureProxyServiceFactoryImpl.WebServiceProperties wsp)
This work is licensed under a Creative Commons Attribution 4.0 International License.