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 WSTrustClientContract
createWSTrustClientContract()
return a concrete implementor for WS-Trust Client Contractstatic STSConfiguration
getRuntimeSTSConfiguration()
static STSAttributeProvider
getSTSAttributeProvider()
Returns the single instance of STSAttributeProvider Use the usual services mechanism to find implementing class.static STSAuthorizationProvider
getSTSAuthorizationProvider()
Returns the single instance of STSAuthorizationProvider Use the usual services mechanism to find implementing class.static STSTokenProvider
getSTSTokenProvider()
static TrustPlugin
newTrustPlugin()
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.DefaultSTSAuthorizationProvider
by 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.DefaultSTSAttributeProvider
by default.
-
getSTSTokenProvider
public static STSTokenProvider getSTSTokenProvider()
-
getRuntimeSTSConfiguration
public static STSConfiguration getRuntimeSTSConfiguration()
-
-