Interface UserAuth

    • Method Detail

      • init

        void init​(ClientSession session,
                  java.lang.String service)
           throws java.lang.Exception
        Parameters:
        session - The ClientSession
        service - The requesting service name
        Throws:
        java.lang.Exception - If failed to initialize the mechanism
      • process

        boolean process​(Buffer buffer)
                 throws java.lang.Exception
        Parameters:
        buffer - The Buffer to process - null if not a response buffer, i.e., the underlying authentication mechanism should initiate whatever challenge/response mechanism is required
        Returns:
        true if request handled - false if the next authentication mechanism should be used
        Throws:
        java.lang.Exception - If failed to process the request
      • destroy

        void destroy()
        Called to release any allocated resources