Class WhiteboardCallback

  • All Implemented Interfaces:
    javax.security.auth.callback.Callback

    public class WhiteboardCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback
    Callback implementation to set and retrieve the Whiteboard.
    • Constructor Detail

      • WhiteboardCallback

        public WhiteboardCallback()
    • Method Detail

      • getWhiteboard

        public Whiteboard getWhiteboard()
        Returns the whiteboard as set using setWhiteboard(Whiteboard) or null.
        Returns:
        an instance of Whiteboard or null if no provider has been set before.
      • setWhiteboard

        public void setWhiteboard​(Whiteboard whiteboard)
        Sets the Whiteboard that is being used during the authentication process.
        Parameters:
        whiteboard - The Whiteboard to use during the authentication process.