Interface STSConfiguration
- All Known Implementing Classes:
DefaultSTSConfiguration
public interface STSConfiguration
This interface contains the attributes for configuring an STS.
- Author:
- Jiandong Guo
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddTrustSPMetadata(TrustSPMetadata data, String spEndpoint) AddTrustMetadatafor the service provider as identified by the given end point.GetCallbackHandlerfor handling certificates for the service provider and keys for the STS.booleanRetruns true if the issued keys from this STS must be encrypted.booleanRetruns true if the issued tokens from this STS must be encrypted.longGet the Issuer for the STS which is a unique string identifing the STS.Gets a map that contains attributes that aren't bound to any typed property on this class.getTrustSPMetadata(String spEndpoint) GetTrustMetadatafor the service provider as identified by the given end point.getType()Gets the implementation class ofWSTrustContractfor this STS.voidsetCallbackHandler(CallbackHandler callbackHandler) SetCallbackHandlerfor handling certificates for the service provider and keys for the STS.
-
Method Details
-
getType
String getType()Gets the implementation class ofWSTrustContractfor this STS.- Returns:
- class name
-
getIssuer
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
SetCallbackHandlerfor handling certificates for the service provider and keys for the STS. -
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
CallbackHandler getCallbackHandler()GetCallbackHandlerfor handling certificates for the service provider and keys for the STS. -
addTrustSPMetadata
AddTrustMetadatafor the service provider as identified by the given end point. -
getTrustSPMetadata
GetTrustMetadatafor the service provider as identified by the given end point.
-