|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.auth.CustomCallbackHandler
public class CustomCallbackHandler
A custom callback handler to set the username and password.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
CustomCallbackHandler(String username,
char[] password)
Create a new callback handler using the specified values. |
|
CustomCallbackHandler(String username,
char[] password,
char[] key)
Create a new callback handler using the specified values. |
|
CustomCallbackHandler(String username,
String password)
Create a new callback handler using the specified values. |
|
CustomCallbackHandler(String username,
String password,
String key)
Create a new callback handler using the specified values. |
|
| Method Summary | |
|---|---|
void |
handle(Callback[] callbacks)
Retrieve or display the information requested in the provided Callbacks. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomCallbackHandler(String username,
String password)
username - The username value to use.password - The password value to use.
public CustomCallbackHandler(String username,
char[] password)
username - The username value to use.password - The password value to use.
public CustomCallbackHandler(String username,
String password,
String key)
username - The {l@ink #username} value to use.password - The password value to use.key - The key value to use.
public CustomCallbackHandler(String username,
char[] password,
char[] key)
username - The username value to use.password - The password value to use.key - The key to use to decrypt the stored password.| Method Detail |
|---|
public void handle(Callback[] callbacks)
throws IOException,
UnsupportedCallbackException
Callbacks.
handle in interface CallbackHandlercallbacks - An array of Callback
objects provided by an underlying security service which contains
the information requested to be retrieved or displayed.
IOException - If an input or output error occurs.
UnsupportedCallbackException - If the implementation of this
method does not support one or more of the Callbacks specified in
the callbacks parameter.
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||