Class BaseSTSImpl

  • All Implemented Interfaces:
    BaseSTS, jakarta.xml.ws.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.
    • Constructor Detail

      • BaseSTSImpl

        public BaseSTSImpl()
    • Method Detail

      • 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 jakarta.xml.ws.Provider<Source>
        Parameters:
        rstElement - The message comprising of RequestSecurityToken.
        Returns:
        The response message comprising of RequestSecurityTokenResponse
        Throws:
        jakarta.xml.ws.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 jakarta.xml.ws.handler.MessageContext getMessageContext()
        The actual STS class should override this method to return the correct MessageContext
        Returns:
        The MessageContext