|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openmdx.security.auth.callback.AbstractCallbackHandler
org.openmdx.security.auth.callback.PasscodeCallbackHandler
public class PasscodeCallbackHandler
Passcode Callback Handler
A call-back handler to return Username, Password, Passcode and its provider context.
| Constructor Summary | |
|---|---|
PasscodeCallbackHandler(String username,
char[] password,
char[] pin,
String tokencode,
String context)
Constructor |
|
PasscodeCallbackHandler(String username,
char[] password,
String passcode,
String context)
Constructor |
|
PasscodeCallbackHandler(String username,
char[] password,
String passcode,
String context,
Integer tokencodeLength)
Constructor |
|
PasscodeCallbackHandler(String username,
String password,
String passcode)
Constructor |
|
| Method Summary | |
|---|---|
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 |
unsupported(Callback callback,
String prompt)
Reject a given callback |
| Methods inherited from class org.openmdx.security.auth.callback.AbstractCallbackHandler |
|---|
handle, handle, handle, handle, handle, handle, handle, unsupported |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PasscodeCallbackHandler(String username,
String password,
String passcode)
username - the user namepassword - the user's passwordpasscode - the user's passcode
public PasscodeCallbackHandler(String username,
char[] password,
String passcode,
String context)
username - the user namepassword - the user's passwordpasscode - the user's passcodecontext - the passcode provider's contextclient - TODO
public PasscodeCallbackHandler(String username,
char[] password,
String passcode,
String context,
Integer tokencodeLength)
username - the user namepassword - the user's passwordpasscode - the user's passcodecontext - the passcode provider's contexttokencodeLength -
public PasscodeCallbackHandler(String username,
char[] password,
char[] pin,
String tokencode,
String context)
username - password - pin - tokencode - context - | Method Detail |
|---|
protected void handle(NameCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlercallback - the callback object to be handled
IOException - if callback handling fails
UnsupportedCallbackException - if the given callback class is not supported
protected void handle(PasswordCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlercallback - the callback object to be handled
IOException - if callback handling fails
UnsupportedCallbackException - if the given callback class is not supported
protected void handle(TextInputCallback callback)
throws IOException,
UnsupportedCallbackException
AbstractCallbackHandler
handle in class AbstractCallbackHandlercallback - the callback object to be handled
IOException - if callback handling fails
UnsupportedCallbackException - if the given callback class is not supported
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 | |||||||||