Class CallbackHandlerImpl
java.lang.Object
org.apache.catalina.authenticator.jaspic.CallbackHandlerImpl
- All Implemented Interfaces:
CallbackHandler
,Contained
Default implementation of a JASPIC CallbackHandler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet theContainer
with which this instance is associated.void
void
setContainer
(Container container) Set theContainer
with which this instance is associated.
-
Constructor Details
-
CallbackHandlerImpl
public CallbackHandlerImpl()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
getContainer
Description copied from interface:Contained
Get theContainer
with which this instance is associated.- Specified by:
getContainer
in interfaceContained
- Returns:
- The Container with which this instance is associated or
null
if not associated with a Container
-
setContainer
Description copied from interface:Contained
Set theContainer
with which this instance is associated.- Specified by:
setContainer
in interfaceContained
- Parameters:
container
- The Container instance with which this instance is to be associated, ornull
to disassociate this instance from any Container
-