Class DefaultSTSConfiguration
java.lang.Object
com.sun.xml.ws.security.trust.impl.DefaultSTSConfiguration
- All Implemented Interfaces:
STSConfiguration
- Author:
- Jiandong Guo
-
Constructor Summary
Constructors -
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.voidsetEncryptIssuedKey(boolean encryptIssuedKey) voidsetEncryptIssuedToken(boolean encryptIssuedToken) voidsetIssuedTokenTimeout(long issuedTokenTimeout) voidvoid
-
Constructor Details
-
DefaultSTSConfiguration
public DefaultSTSConfiguration()
-
-
Method Details
-
addTrustSPMetadata
Description copied from interface:STSConfigurationAddTrustMetadatafor the service provider as identified by the given end point.- Specified by:
addTrustSPMetadatain interfaceSTSConfiguration
-
getTrustSPMetadata
Description copied from interface:STSConfigurationGetTrustMetadatafor the service provider as identified by the given end point.- Specified by:
getTrustSPMetadatain interfaceSTSConfiguration
-
setType
-
getType
Description copied from interface:STSConfigurationGets the implementation class ofWSTrustContractfor this STS.- Specified by:
getTypein interfaceSTSConfiguration- Returns:
- class name
-
setIssuer
-
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
Description copied from interface:STSConfigurationSetCallbackHandlerfor handling certificates for the service provider and keys for the STS.- Specified by:
setCallbackHandlerin interfaceSTSConfiguration
-
getCallbackHandler
Description copied from interface:STSConfigurationGetCallbackHandlerfor handling certificates for the service provider and keys for the STS.- Specified by:
getCallbackHandlerin interfaceSTSConfiguration
-
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
-