Package com.sun.xml.ws.security.trust
Class WSTrustFactory
- java.lang.Object
-
- com.sun.xml.ws.security.trust.WSTrustFactory
-
public class WSTrustFactory extends Object
A Factory for creating concrete WS-Trust contract instances
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WSTrustClientContractcreateWSTrustClientContract()return a concrete implementor for WS-Trust Client Contractstatic STSConfigurationgetRuntimeSTSConfiguration()static STSAttributeProvidergetSTSAttributeProvider()Returns the single instance of STSAttributeProvider Use the usual services mechanism to find implementing class.static STSAuthorizationProvidergetSTSAuthorizationProvider()Returns the single instance of STSAuthorizationProvider Use the usual services mechanism to find implementing class.static STSTokenProvidergetSTSTokenProvider()static TrustPluginnewTrustPlugin()return a concrete implementation for the TrustPlugin.static WSTrustContract<BaseSTSRequest,BaseSTSResponse>newWSTrustContract(STSConfiguration config, String appliesTo)Return a concrete implementor of WSTrustContract.
-
-
-
Method Detail
-
newTrustPlugin
public static TrustPlugin newTrustPlugin()
return a concrete implementation for the TrustPlugin.
-
newWSTrustContract
public static WSTrustContract<BaseSTSRequest,BaseSTSResponse> newWSTrustContract(STSConfiguration config, String appliesTo) throws WSTrustException
Return a concrete implementor of WSTrustContract.Note: This contract is based on JAXB Beans generated for ws-trust.xsd schema elements
- Throws:
WSTrustException
-
createWSTrustClientContract
public static WSTrustClientContract createWSTrustClientContract()
return a concrete implementor for WS-Trust Client Contract
-
getSTSAuthorizationProvider
public static STSAuthorizationProvider getSTSAuthorizationProvider()
Returns the single instance of STSAuthorizationProvider Use the usual services mechanism to find implementing class. If not found, usecom.sun.xml.ws.security.trust.impl.DefaultSTSAuthorizationProviderby default.
-
getSTSAttributeProvider
public static STSAttributeProvider getSTSAttributeProvider()
Returns the single instance of STSAttributeProvider Use the usual services mechanism to find implementing class. If not found, usecom.sun.xml.ws.security.trust.impl.DefaultSTSAttributeProviderby default.
-
getSTSTokenProvider
public static STSTokenProvider getSTSTokenProvider()
-
getRuntimeSTSConfiguration
public static STSConfiguration getRuntimeSTSConfiguration()
-
-