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 Details

    • DefaultSTSConfiguration

      public DefaultSTSConfiguration()
  • Method Details

    • addTrustSPMetadata

      public void addTrustSPMetadata(TrustSPMetadata data, String spEndpoint)
      Description copied from interface: STSConfiguration
      Add TrustMetadata for the service provider as identified by the given end point.
      Specified by:
      addTrustSPMetadata in interface STSConfiguration
    • getTrustSPMetadata

      public TrustSPMetadata getTrustSPMetadata(String spEndpoint)
      Description copied from interface: STSConfiguration
      Get TrustMetadata for the service provider as identified by the given end point.
      Specified by:
      getTrustSPMetadata in interface STSConfiguration
    • setType

      public void setType(String type)
    • getType

      public String getType()
      Description copied from interface: STSConfiguration
      Gets the implementation class of WSTrustContract for this STS.
      Specified by:
      getType in interface STSConfiguration
      Returns:
      class name
    • setIssuer

      public void setIssuer(String issuer)
    • getIssuer

      public String getIssuer()
      Description copied from interface: STSConfiguration
      Get the Issuer for the STS which is a unique string identifing the STS.
      Specified by:
      getIssuer in interface STSConfiguration
    • 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 interface STSConfiguration
    • 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 interface STSConfiguration
    • setIssuedTokenTimeout

      public void setIssuedTokenTimeout(long issuedTokenTimeout)
    • getIssuedTokenTimeout

      public long getIssuedTokenTimeout()
      Specified by:
      getIssuedTokenTimeout in interface STSConfiguration
    • setCallbackHandler

      public void setCallbackHandler(CallbackHandler callbackHandler)
      Description copied from interface: STSConfiguration
      Set CallbackHandler for handling certificates for the service provider and keys for the STS.
      Specified by:
      setCallbackHandler in interface STSConfiguration
    • getCallbackHandler

      public CallbackHandler getCallbackHandler()
      Description copied from interface: STSConfiguration
      Get CallbackHandler for handling certificates for the service provider and keys for the STS.
      Specified by:
      getCallbackHandler in interface STSConfiguration
    • getOtherOptions

      public Map<String,Object> 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 interface STSConfiguration
      Returns:
      always non-null