|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.callback.AbstractCallbackHandler
public abstract class AbstractCallbackHandler
Abstract Callback Handler
| Constructor Summary | |
|---|---|
protected |
AbstractCallbackHandler()
Constructor |
| Method Summary | |
|---|---|
protected void |
handle(AddressCallback callback)
Handle a given callback class |
protected void |
handle(Callback callback)
Handle a single calllback |
void |
handle(Callback[] callbacks)
Handle all callbacks |
protected void |
handle(ChoiceCallback callback)
Handle a given callback class |
protected void |
handle(ConfirmationCallback callback)
Handle a given callback class |
protected void |
handle(LanguageCallback callback)
Handle a given callback class |
protected void |
handle(NameCallback callback)
Handle a given callback class |
protected void |
handle(PasswordCallback callback)
Handle a given callback class |
protected void |
handle(TextInputCallback callback)
Handle a given callback class |
protected void |
handle(TextOutputCallback callback)
Handle a given callback class |
protected void |
unsupported(Callback callback)
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 AbstractCallbackHandler()
| Method Detail |
|---|
protected void handle(ChoiceCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(ConfirmationCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(LanguageCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(NameCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected void handle(TextOutputCallback callback)
throws IOException,
UnsupportedCallbackException
callback - the callback object to be handled
UnsupportedCallbackException - if the given callback class is not supported
IOException - if callback handling fails
protected 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 fails
protected void handle(Callback callback)
throws IOException,
UnsupportedCallbackException
This method may be overridden to support additional callback classes
callback - the callback to be handled
IOException
UnsupportedCallbackException
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
handle in interface CallbackHandlercallbacks - the callbacks to be handled
IOException
UnsupportedCallbackException
protected void unsupported(Callback callback)
throws UnsupportedCallbackException
callback - unsupported callback
UnsupportedCallbackException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||