|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.odi.justblog.gui.swing.DialogAuthenticator
Creates a Swing GUI for authentication.
Nested Class Summary | |
(package private) class |
DialogAuthenticator.ChoiceControl
|
(package private) static interface |
DialogAuthenticator.Commitable
|
(package private) class |
DialogAuthenticator.ConfirmationControl
|
(package private) class |
DialogAuthenticator.NameControl
|
(package private) class |
DialogAuthenticator.PasswordControl
|
(package private) class |
DialogAuthenticator.TextInputControl
|
Field Summary | |
(package private) java.awt.Frame |
owner
|
(package private) java.lang.String |
title
|
Constructor Summary | |
DialogAuthenticator(java.awt.Frame owner)
|
Method Summary | |
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Creates a dialog out of the callbacks and pushes the information entered by the user back into the callbacks. |
void |
setContext(java.lang.String context)
Sets the text to use as the dialog title. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
java.awt.Frame owner
java.lang.String title
Constructor Detail |
public DialogAuthenticator(java.awt.Frame owner)
Method Detail |
public void setContext(java.lang.String context)
setContext
in interface IAuthenticator
context
- the dialog title or null
.public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
handle
in interface javax.security.auth.callback.CallbackHandler
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |