Class WhiteboardCallback
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.callback.WhiteboardCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class WhiteboardCallback extends java.lang.Object implements javax.security.auth.callback.CallbackCallback implementation to set and retrieve theWhiteboard.
-
-
Constructor Summary
Constructors Constructor Description WhiteboardCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhiteboardgetWhiteboard()Returns the whiteboard as set usingsetWhiteboard(Whiteboard)ornull.voidsetWhiteboard(Whiteboard whiteboard)Sets theWhiteboardthat is being used during the authentication process.
-
-
-
Method Detail
-
getWhiteboard
public Whiteboard getWhiteboard()
Returns the whiteboard as set usingsetWhiteboard(Whiteboard)ornull.- Returns:
- an instance of
Whiteboardornullif no provider has been set before.
-
setWhiteboard
public void setWhiteboard(Whiteboard whiteboard)
Sets theWhiteboardthat is being used during the authentication process.- Parameters:
whiteboard- TheWhiteboardto use during the authentication process.
-
-