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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.jackrabbit.oak.spi.whiteboard.Whiteboard getWhiteboard()
      Returns the whiteboard as set using setWhiteboard(Whiteboard) or null.
      void setWhiteboard​(org.apache.jackrabbit.oak.spi.whiteboard.Whiteboard whiteboard)
      Sets the Whiteboard that is being used during the authentication process.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WhiteboardCallback

        public WhiteboardCallback()
    • Method Detail

      • getWhiteboard

        public org.apache.jackrabbit.oak.spi.whiteboard.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​(org.apache.jackrabbit.oak.spi.whiteboard.Whiteboard whiteboard)
        Sets the Whiteboard that is being used during the authentication process.
        Parameters:
        whiteboard - The Whiteboard to use during the authentication process.