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.Callback
Callback 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 Whiteboard
getWhiteboard()
Returns the whiteboard as set usingsetWhiteboard(Whiteboard)
ornull
.void
setWhiteboard(Whiteboard whiteboard)
Sets theWhiteboard
that 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
Whiteboard
ornull
if no provider has been set before.
-
setWhiteboard
public void setWhiteboard(Whiteboard whiteboard)
Sets theWhiteboard
that is being used during the authentication process.- Parameters:
whiteboard
- TheWhiteboard
to use during the authentication process.
-
-