Interface STSConfiguration
-
public interface STSConfigurationThis interface contains the attributes for configuring an STS.- Author:
- Jiandong Guo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTrustSPMetadata(TrustSPMetadata data, String spEndpoint)AddTrustMetadatafor the service provider as identified by the given end point.CallbackHandlergetCallbackHandler()GetCallbackHandlerfor handling certificates for the service provider and keys for the STS.booleangetEncryptIssuedKey()Retruns true if the issued keys from this STS must be encrypted.booleangetEncryptIssuedToken()Retruns true if the issued tokens from this STS must be encrypted.longgetIssuedTokenTimeout()StringgetIssuer()Get the Issuer for the STS which is a unique string identifing the STS.Map<String,Object>getOtherOptions()Gets a map that contains attributes that aren't bound to any typed property on this class.TrustSPMetadatagetTrustSPMetadata(String spEndpoint)GetTrustMetadatafor the service provider as identified by the given end point.StringgetType()Gets the implementation class ofWSTrustContractfor this STS.voidsetCallbackHandler(CallbackHandler callbackHandler)SetCallbackHandlerfor handling certificates for the service provider and keys for the STS.
-
-
-
Method Detail
-
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
void setCallbackHandler(CallbackHandler callbackHandler)
SetCallbackHandlerfor handling certificates for the service provider and keys for the STS.
-
getOtherOptions
Map<String,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
CallbackHandler getCallbackHandler()
GetCallbackHandlerfor handling certificates for the service provider and keys for the STS.
-
addTrustSPMetadata
void addTrustSPMetadata(TrustSPMetadata data, String spEndpoint)
AddTrustMetadatafor the service provider as identified by the given end point.
-
getTrustSPMetadata
TrustSPMetadata getTrustSPMetadata(String spEndpoint)
GetTrustMetadatafor the service provider as identified by the given end point.
-
-