Class CallbackHandlerImpl
- java.lang.Object
-
- org.apache.catalina.authenticator.jaspic.CallbackHandlerImpl
-
-
Constructor Summary
Constructors Constructor Description CallbackHandlerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Container
getContainer()
Get theContainer
with which this instance is associated.void
handle(javax.security.auth.callback.Callback[] callbacks)
void
setContainer(Container container)
Set theContainer
with which this instance is associated.
-
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
-
getContainer
public Container 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
public void setContainer(Container container)
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
-
-