Class CallbackHandlerImpl
- java.lang.Object
-
- org.apache.catalina.authenticator.jaspic.CallbackHandlerImpl
-
- All Implemented Interfaces:
CallbackHandler,Contained
public class CallbackHandlerImpl extends Object implements CallbackHandler, Contained
Default implementation of a JASPIC CallbackHandler.
-
-
Constructor Summary
Constructors Constructor Description CallbackHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContainergetContainer()Get theContainerwith which this instance is associated.voidhandle(Callback[] callbacks)voidsetContainer(Container container)Set theContainerwith which this instance is associated.
-
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
getContainer
public Container getContainer()
Description copied from interface:ContainedGet theContainerwith which this instance is associated.- Specified by:
getContainerin interfaceContained- Returns:
- The Container with which this instance is associated or
nullif not associated with a Container
-
setContainer
public void setContainer(Container container)
Description copied from interface:ContainedSet theContainerwith which this instance is associated.- Specified by:
setContainerin interfaceContained- Parameters:
container- The Container instance with which this instance is to be associated, ornullto disassociate this instance from any Container
-
-