Class DefaultSTSConfiguration
- java.lang.Object
-
- com.sun.xml.ws.security.trust.impl.DefaultSTSConfiguration
-
- All Implemented Interfaces:
STSConfiguration
public class DefaultSTSConfiguration extends Object implements STSConfiguration
- Author:
- Jiandong Guo
-
-
Constructor Summary
Constructors Constructor Description DefaultSTSConfiguration()
-
Method Summary
All Methods Instance Methods Concrete 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.voidsetEncryptIssuedKey(boolean encryptIssuedKey)voidsetEncryptIssuedToken(boolean encryptIssuedToken)voidsetIssuedTokenTimeout(long issuedTokenTimeout)voidsetIssuer(String issuer)voidsetType(String type)
-
-
-
Method Detail
-
addTrustSPMetadata
public void addTrustSPMetadata(TrustSPMetadata data, String spEndpoint)
Description copied from interface:STSConfigurationAddTrustMetadatafor the service provider as identified by the given end point.- Specified by:
addTrustSPMetadatain interfaceSTSConfiguration
-
getTrustSPMetadata
public TrustSPMetadata getTrustSPMetadata(String spEndpoint)
Description copied from interface:STSConfigurationGetTrustMetadatafor the service provider as identified by the given end point.- Specified by:
getTrustSPMetadatain interfaceSTSConfiguration
-
setType
public void setType(String type)
-
getType
public String getType()
Description copied from interface:STSConfigurationGets the implementation class ofWSTrustContractfor this STS.- Specified by:
getTypein interfaceSTSConfiguration- Returns:
- class name
-
setIssuer
public void setIssuer(String issuer)
-
getIssuer
public String getIssuer()
Description copied from interface:STSConfigurationGet the Issuer for the STS which is a unique string identifing the STS.- Specified by:
getIssuerin interfaceSTSConfiguration
-
setEncryptIssuedToken
public void setEncryptIssuedToken(boolean encryptIssuedToken)
-
getEncryptIssuedToken
public boolean getEncryptIssuedToken()
Description copied from interface:STSConfigurationRetruns true if the issued tokens from this STS must be encrypted.- Specified by:
getEncryptIssuedTokenin interfaceSTSConfiguration
-
setEncryptIssuedKey
public void setEncryptIssuedKey(boolean encryptIssuedKey)
-
getEncryptIssuedKey
public boolean getEncryptIssuedKey()
Description copied from interface:STSConfigurationRetruns true if the issued keys from this STS must be encrypted.- Specified by:
getEncryptIssuedKeyin interfaceSTSConfiguration
-
setIssuedTokenTimeout
public void setIssuedTokenTimeout(long issuedTokenTimeout)
-
getIssuedTokenTimeout
public long getIssuedTokenTimeout()
- Specified by:
getIssuedTokenTimeoutin interfaceSTSConfiguration
-
setCallbackHandler
public void setCallbackHandler(CallbackHandler callbackHandler)
Description copied from interface:STSConfigurationSetCallbackHandlerfor handling certificates for the service provider and keys for the STS.- Specified by:
setCallbackHandlerin interfaceSTSConfiguration
-
getCallbackHandler
public CallbackHandler getCallbackHandler()
Description copied from interface:STSConfigurationGetCallbackHandlerfor handling certificates for the service provider and keys for the STS.- Specified by:
getCallbackHandlerin interfaceSTSConfiguration
-
getOtherOptions
public Map<String,Object> getOtherOptions()
Description copied from interface:STSConfigurationGets 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.
- Specified by:
getOtherOptionsin interfaceSTSConfiguration- Returns:
- always non-null
-
-