com.sun.xml.ws.api.security.trust.config
Interface STSConfiguration

All Known Implementing Classes:
DefaultSTSConfiguration

public interface STSConfiguration

This interface contains the attributes for configuring an STS.


Method Summary
 void addTrustSPMetadata(TrustSPMetadata data, java.lang.String spEndpoint)
          Add TrustMetadata for the service provider as identified by the given end point.
 javax.security.auth.callback.CallbackHandler getCallbackHandler()
          Get CallbackHandler for handling certificates for the service provider and keys for the STS.
 boolean getEncryptIssuedKey()
          Retruns true if the issued keys from this STS must be encrypted.
 boolean getEncryptIssuedToken()
          Retruns true if the issued tokens from this STS must be encrypted.
 long getIssuedTokenTimeout()
           
 java.lang.String getIssuer()
          Get the Issuer for the STS which is a unique string identifing the STS.
 java.util.Map<java.lang.String,java.lang.Object> getOtherOptions()
          Gets a map that contains attributes that aren't bound to any typed property on this class.
 TrustSPMetadata getTrustSPMetadata(java.lang.String spEndpoint)
          Get TrustMetadata for the service provider as identified by the given end point.
 java.lang.String getType()
          Gets the implementation class of WSTrustContract for this STS.
 void setCallbackHandler(javax.security.auth.callback.CallbackHandler callbackHandler)
          Set CallbackHandler for handling certificates for the service provider and keys for the STS.
 

Method Detail

getType

java.lang.String getType()
Gets the implementation class of WSTrustContract for this STS.

Returns:
class name

getIssuer

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


getEncryptIssuedToken

boolean getEncryptIssuedToken()
Retruns true if the issued tokens from this STS must be encrypted.


getEncryptIssuedKey

boolean getEncryptIssuedKey()
Retruns true if the issued keys from this STS must be encrypted.


getIssuedTokenTimeout

long getIssuedTokenTimeout()

setCallbackHandler

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


getOtherOptions

java.util.Map<java.lang.String,java.lang.Object> getOtherOptions()
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.

Returns:
always non-null

getCallbackHandler

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


addTrustSPMetadata

void addTrustSPMetadata(TrustSPMetadata data,
                        java.lang.String spEndpoint)
Add TrustMetadata for the service provider as identified by the given end point.


getTrustSPMetadata

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