com.sun.xml.ws.security.trust
Class WSTrustFactory

java.lang.Object
  extended by com.sun.xml.ws.security.trust.WSTrustFactory

public class WSTrustFactory
extends java.lang.Object

A Factory for creating concrete WS-Trust contract instances


Method Summary
static WSTrustClientContract createWSTrustClientContract()
          return a concrete implementor for WS-Trust Client Contract
static 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, java.lang.String appliesTo)
          Return a concrete implementor of WSTrustContract.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newTrustPlugin

public static TrustPlugin newTrustPlugin()
return a concrete implementation for the TrustPlugin.


newWSTrustContract

public static WSTrustContract<BaseSTSRequest,BaseSTSResponse> newWSTrustContract(STSConfiguration config,
                                                                                 java.lang.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, use com.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, use com.sun.xml.ws.security.trust.impl.DefaultSTSAttributeProvider by default.


getSTSTokenProvider

public static STSTokenProvider getSTSTokenProvider()

getRuntimeSTSConfiguration

public static STSConfiguration getRuntimeSTSConfiguration()