|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.callback.AddressCallbackHandler
public abstract class AddressCallbackHandler
Address Callback Handler
The Address Callback Handler is able to handle address callback requests and delegate the remaining requests to a delegate callback handler.
| Constructor Summary | |
|---|---|
protected |
AddressCallbackHandler(CallbackHandler delegate)
Constructor |
| Method Summary | |
|---|---|
protected abstract boolean |
accept()
Tells whether callbacks should be handled or delegated |
protected abstract boolean |
accept(AddressCallback callback)
Tells whether a given callback should be handled or delegated |
protected abstract void |
handle(AddressCallback callback)
Handle a given callback class |
void |
handle(Callback[] callbacks)
Handle address callbacks and delegate the remaining ones |
protected void |
unsupported(Callback callback,
String prompt)
Reject a given callback |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AddressCallbackHandler(CallbackHandler delegate)
throws IOException
request - delegate -
IOException| Method Detail |
|---|
protected abstract void handle(AddressCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling failsprotected abstract boolean accept()
true if callbacks should be handledprotected abstract boolean accept(AddressCallback callback)
callback -
true if t he callback should be handled
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
handle in interface CallbackHandlercallbacks -
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void unsupported(Callback callback,
String prompt)
throws UnsupportedCallbackException
callback - callbackprompt - unsupported prompt
UnsupportedCallbackException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||