FileDocCategorySizeDatePackage
STSConfiguration.javaAPI DocExample4285Tue May 29 16:56:30 BST 2007com.sun.xml.ws.api.security.trust.config

STSConfiguration

public interface STSConfiguration
This interface contains the attributes for configuring an STS.
author
Jiandong Guo

Fields Summary
Constructors Summary
Methods Summary
public voidaddTrustSPMetadata(TrustSPMetadata data, java.lang.String spEndpoint)
Add TrustMetadata for the service provider as identified by the given end point.

public javax.security.auth.callback.CallbackHandlergetCallbackHandler()
Get CallbackHandler for handling certificates for the service provider and keys for the STS.

public booleangetEncryptIssuedKey()
Retruns true if the issued keys from this STS must be encrypted.

public booleangetEncryptIssuedToken()
Retruns true if the issued tokens from this STS must be encrypted.

public longgetIssuedTokenTimeout()

public java.lang.StringgetIssuer()
Get the Issuer for the STS which is a unique string identifing the STS.

public java.util.MapgetOtherOptions()
Gets a map that contains attributes that aren't bound to any typed property on this class.

the map is keyed by the name of the attribute and the value is any object. the map returned by this method is live, and you can add new attribute by updating the map directly.

return
always non-null

public TrustSPMetadatagetTrustSPMetadata(java.lang.String spEndpoint)
Get TrustMetadata for the service provider as identified by the given end point.

public java.lang.StringgetType()
Gets the implementation class of WSTrustContract for this STS.

return
class name

public voidsetCallbackHandler(javax.security.auth.callback.CallbackHandler callbackHandler)
Set CallbackHandler for handling certificates for the service provider and keys for the STS.