public abstract class AbstractCallbackHandler extends Object implements CallbackHandler
CallbackHandler
.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
logger
Logger available to subclasses.
|
Modifier | Constructor and Description |
---|---|
protected |
AbstractCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Iterates over the given callbacks, and calls
handleInternal for each of them. |
protected abstract void |
handleInternal(Callback callback)
Template method that should be implemented by subclasses.
|
protected final org.apache.commons.logging.Log logger
public final void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handleInternal
for each of them.handle
in interface CallbackHandler
callbacks
- the callbacksIOException
UnsupportedCallbackException
handleInternal(javax.security.auth.callback.Callback)
protected abstract void handleInternal(Callback callback) throws IOException, UnsupportedCallbackException
Copyright © 2020 Pivotal Software. All rights reserved.