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 TypeMethodDescriptionvoid
addTrustSPMetadata
(TrustSPMetadata data, String spEndpoint) AddTrustMetadata
for the service provider as identified by the given end point.GetCallbackHandler
for handling certificates for the service provider and keys for the STS.boolean
Retruns true if the issued keys from this STS must be encrypted.boolean
Retruns true if the issued tokens from this STS must be encrypted.long
Get 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) GetTrustMetadata
for the service provider as identified by the given end point.getType()
Gets the implementation class ofWSTrustContract
for this STS.void
setCallbackHandler
(CallbackHandler callbackHandler) SetCallbackHandler
for handling certificates for the service provider and keys for the STS.
-
Method Details
-
getType
String getType()Gets the implementation class ofWSTrustContract
for 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
SetCallbackHandler
for 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()GetCallbackHandler
for handling certificates for the service provider and keys for the STS. -
addTrustSPMetadata
AddTrustMetadata
for the service provider as identified by the given end point. -
getTrustSPMetadata
GetTrustMetadata
for the service provider as identified by the given end point.
-