|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WObject
eu.webtoolkit.jwt.WWidget
eu.webtoolkit.jwt.WCompositeWidget
eu.webtoolkit.jwt.WPopupWidget
eu.webtoolkit.jwt.WDialog
eu.webtoolkit.jwt.auth.PasswordPromptDialog
public class PasswordPromptDialog
A dialog that prompts for the user password.
This is a simple dialog, useful for prompting the user to enter his password. This may be convenient for example to let the user upgrade from a weak authentication to a strong authentication.
The dialog uses a Login object to get the currently identified user,
and also sets the result of the login process by calling
Login#login() on this
object.
The dialog renders the
"Wt.Auth.template.password-prompt" template.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class eu.webtoolkit.jwt.WDialog |
|---|
WDialog.DialogCode |
| Field Summary | |
|---|---|
protected WTemplateFormView |
impl_
|
protected Login |
login_
|
protected AuthModel |
model_
|
| Fields inherited from class eu.webtoolkit.jwt.WWidget |
|---|
WT_GETPS_JS |
| Constructor Summary | |
|---|---|
PasswordPromptDialog(Login login,
AuthModel model)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
check()
|
| Methods inherited from class eu.webtoolkit.jwt.WDialog |
|---|
accept, done, exec, exec, finished, getContents, getFooter, getResult, getTitleBar, getWindowTitle, isClosable, isModal, isResizable, isTitleBarEnabled, positionAt, reject, rejectWhenEscapePressed, remove, setClosable, setHidden, setMaximumSize, setMinimumSize, setModal, setResizable, setTitleBarEnabled, setWindowTitle |
| Methods inherited from class eu.webtoolkit.jwt.WPopupWidget |
|---|
getAnchorWidget, getAutoHideDelay, getOrientation, hidden, isTransient, setAnchorWidget, setAnchorWidget, setParent, setTransient, setTransient, shown |
| Methods inherited from class eu.webtoolkit.jwt.WWidget |
|---|
acceptDrops, acceptDrops, addCssRule, addCssRule, addStyleClass, animateHide, animateShow, createJavaScript, disable, dropEvent, enable, getDrop, getJsRef, getParent, hide, htmlText, isExposed, isLayoutSizeAware, isRendered, layoutSizeChanged, positionAt, removeStyleClass, resize, scheduleRender, scheduleRerender, setClearSides, setHeight, setHidden, setLayoutSizeAware, setMargin, setMargin, setMargin, setMargin, setMargin, setOffsets, setOffsets, setOffsets, setOffsets, setOffsets, setToolTip, setVerticalAlignment, setWidth, show, stopAcceptDrops, toggleStyleClass, toggleStyleClass, tr |
| Methods inherited from class eu.webtoolkit.jwt.WObject |
|---|
addChild, getObjectName, setObjectName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Login login_
protected AuthModel model_
protected WTemplateFormView impl_
| Constructor Detail |
|---|
public PasswordPromptDialog(Login login,
AuthModel model)
From the passed login object, the dialog obtains the
User for which a valid password needs to be entered. The result,
if successful, is signalled using
Login#login().
| Method Detail |
|---|
protected void check()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||