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 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.void
setEncryptIssuedKey
(boolean encryptIssuedKey) void
setEncryptIssuedToken
(boolean encryptIssuedToken) void
setIssuedTokenTimeout
(long issuedTokenTimeout) void
void
-
Constructor Details
-
DefaultSTSConfiguration
public DefaultSTSConfiguration()
-
-
Method Details
-
addTrustSPMetadata
Description copied from interface:STSConfiguration
AddTrustMetadata
for the service provider as identified by the given end point.- Specified by:
addTrustSPMetadata
in interfaceSTSConfiguration
-
getTrustSPMetadata
Description copied from interface:STSConfiguration
GetTrustMetadata
for the service provider as identified by the given end point.- Specified by:
getTrustSPMetadata
in interfaceSTSConfiguration
-
setType
-
getType
Description copied from interface:STSConfiguration
Gets the implementation class ofWSTrustContract
for this STS.- Specified by:
getType
in interfaceSTSConfiguration
- Returns:
- class name
-
setIssuer
-
getIssuer
Description copied from interface:STSConfiguration
Get the Issuer for the STS which is a unique string identifing the STS.- Specified by:
getIssuer
in interfaceSTSConfiguration
-
setEncryptIssuedToken
public void setEncryptIssuedToken(boolean encryptIssuedToken) -
getEncryptIssuedToken
public boolean getEncryptIssuedToken()Description copied from interface:STSConfiguration
Retruns true if the issued tokens from this STS must be encrypted.- Specified by:
getEncryptIssuedToken
in interfaceSTSConfiguration
-
setEncryptIssuedKey
public void setEncryptIssuedKey(boolean encryptIssuedKey) -
getEncryptIssuedKey
public boolean getEncryptIssuedKey()Description copied from interface:STSConfiguration
Retruns true if the issued keys from this STS must be encrypted.- Specified by:
getEncryptIssuedKey
in interfaceSTSConfiguration
-
setIssuedTokenTimeout
public void setIssuedTokenTimeout(long issuedTokenTimeout) -
getIssuedTokenTimeout
public long getIssuedTokenTimeout()- Specified by:
getIssuedTokenTimeout
in interfaceSTSConfiguration
-
setCallbackHandler
Description copied from interface:STSConfiguration
SetCallbackHandler
for handling certificates for the service provider and keys for the STS.- Specified by:
setCallbackHandler
in interfaceSTSConfiguration
-
getCallbackHandler
Description copied from interface:STSConfiguration
GetCallbackHandler
for handling certificates for the service provider and keys for the STS.- Specified by:
getCallbackHandler
in interfaceSTSConfiguration
-
getOtherOptions
Description copied from interface:STSConfiguration
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.
- Specified by:
getOtherOptions
in interfaceSTSConfiguration
- Returns:
- always non-null
-