Class BaseSTSImpl

java.lang.Object
com.sun.xml.ws.security.trust.sts.BaseSTSImpl
All Implemented Interfaces:
BaseSTS, Provider<Source>

public abstract class BaseSTSImpl extends Object implements BaseSTS
The Base class of an STS implementation. This could be used to implement the actual STS. The sub class could override the methods of this class to customize the implementation.
  • Field Details

  • Constructor Details

    • BaseSTSImpl

      public BaseSTSImpl()
  • Method Details

    • invoke

      public Source invoke(Source rstElement)
      Implementation of the invoke method of the Provider interface
      Specified by:
      invoke in interface BaseSTS
      Specified by:
      invoke in interface Provider<Source>
      Parameters:
      rstElement - The message comprising of RequestSecurityToken.
      Returns:
      The response message comprising of RequestSecurityTokenResponse
      Throws:
      WebServiceException - if there is an error processing request. The cause of the WebServiceException may be set to a subclass of ProtocolException to control the protocol level representation of the exception.
    • getMessageContext

      protected abstract MessageContext getMessageContext()
      The actual STS class should override this method to return the correct MessageContext
      Returns:
      The MessageContext