public abstract class LoginDialog extends PropertyAdministration
Modifier and Type | Field and Description |
---|---|
protected MustPasswordField |
passwordField |
protected MustTextField |
userIdField |
currentAttributeList, dialogNbr, wantToBeFinalized
additionalButtons, backButton, cancelButton, NAME_FOR_BACK_ACTION, NAME_FOR_CANCEL_ACTION, NAME_FOR_CLOSE_ACTION, NAME_FOR_DIALOG_NBR, NAME_FOR_HELP_ACTION, NAME_FOR_LIST_ACTION, NAME_FOR_NEW_ENTRY_ACTION, NAME_FOR_OK_ACTION, okButton, processComplete, sessionData, stackMovement
Constructor and Description |
---|
LoginDialog(SessionData sessionData)
Constructs a new login dialog
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.Class<? extends Invokable> |
getClassToInvokeIfLoginIsRootInvokable()
Returns the class, which is to invoke if the login dialog is the first
dialog in stack.
|
protected java.lang.String |
getLoginHint()
Returns a comment to be displayed between Header "Login" and user input field.
|
Submission |
getSubmission()
Not needed here.
|
protected abstract java.lang.String |
getUserGroup()
Returns the group of logged in user.
|
void |
init()
Initializes the invokable in order to reuse the component without garbage
from the previous use.
|
protected abstract boolean |
isLoginAccepted()
Returns true if the login data is correct.
|
void |
process(GeneralizedRequest request)
Called by the session.
|
void |
setSubmitter(Invokable submitter)
Not needed here.
|
creationEnding, fetchValuesFromRequest, getAttributeList, getTabbedPaneTagSequence, hasMultiplePanels, newPanel, newPanel, newPanel, newPanel, setTabSize, setToolTipText, wantToBeFinalized
afterOutput, appendAdditionalButton, beforeOutput, destroy, finalize, free, getAdditionalButtons, getBackButtonTagSequence, getCancelButtonTagSequence, getFooter, getHeader, getHelpContext, getInvokableInAdvance, getOkButtonTagSequence, getScriptToExecute, getScriptToExecuteSequence, getStackMovement, getSubTitle, getTitle, isCancelable, isPost, isSuitableDialog, setHelpContext, setHelpContext, setMessageToKeep, setMessageToKeepIfNotAlreadySet, setScriptToExecute, setStackMovement, setSubTitle, setTitle
protected MustTextField userIdField
protected MustPasswordField passwordField
public LoginDialog(SessionData sessionData)
sessionData
- the session's public datapublic void init()
public void setSubmitter(Invokable submitter)
submitter
- not needed herepublic Submission getSubmission()
protected java.lang.String getLoginHint()
public void process(GeneralizedRequest request)
process
in interface Invokable
process
in class PropertyAdministration
request
- the http request.protected abstract java.lang.Class<? extends Invokable> getClassToInvokeIfLoginIsRootInvokable()
protected abstract boolean isLoginAccepted()
protected abstract java.lang.String getUserGroup()
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de