Class AFCallbackHandlerWrapper
- java.lang.Object
-
- de.aristaflow.adept2.base.security.callbackhandler.AFCallbackHandlerWrapper
-
- All Implemented Interfaces:
CallbackHandler
public class AFCallbackHandlerWrapper extends Object implements CallbackHandler
A wrapper forAFCallbackHandler
treated asCallbackHandler
. This allows for locally using aCallbackHandler
that delegates to a remoteAFCallbackHandler
only.- Author:
- Ulrich Kreher
-
-
Field Summary
Fields Modifier and Type Field Description protected AFCallbackHandler
handler
The handler to which all callback requests are forwarded.
-
Constructor Summary
Constructors Constructor Description AFCallbackHandlerWrapper(AFCallbackHandler handler)
Creates a newCallbackHandler
that wraps the designatedAFCallbackHandler
appropriately.
-
-
-
Field Detail
-
handler
protected final AFCallbackHandler handler
The handler to which all callback requests are forwarded.
-
-
Constructor Detail
-
AFCallbackHandlerWrapper
public AFCallbackHandlerWrapper(AFCallbackHandler handler)
Creates a newCallbackHandler
that wraps the designatedAFCallbackHandler
appropriately.- Parameters:
handler
- The handler to which all callback requests are forwarded.
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
-