public class SecureLogin extends VirtualComponentAdapter implements Runnable
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_NAME
The name of the AdminConfigSecureLogin profile in VirtualSessionManager
save/getObject used with server applications.
|
ICON_CRITICAL, ICON_INFORMATION, ICON_NOICON, ICON_QUERY, ICON_QUESTION, ICON_WARNING, MB_ABORTRETRYIGNORE, MB_CANCEL, MB_ENTER, MB_ENTERCANCEL, MB_OK, MB_OKCANCEL, MB_RETRYCANCEL, MB_YESNO, MB_YESNOCANCEL, MBID_CANCEL, MBID_DEFAULT, MBID_ENTER, MBID_IGNORE, MBID_NO, MBID_OK, MBID_RETRY, MBID_YES
Constructor and Description |
---|
SecureLogin(VirtualSessionManager vsm)
Creates a new SecureLogin instance used for SECURELOGIN.PHR.
|
Modifier and Type | Method and Description |
---|---|
String |
getProfileName()
Gets the profile name of this secure login.
|
static boolean |
isNpAppSessionValid(VirtualSessionManager vsm,
String sessionString)
Checks for a running NP application.
|
void |
onAction(VirtualPanel vp,
String controlID)
Push buttons and menu items generates this event when selected.
|
boolean |
onPanelClosing(VirtualPanel vp)
Called when the close button of a panel is pressed,
but before any other processing has been done.
|
void |
onPanelDestroy(VirtualPanel panel)
Called to inform the listener that the panel is destroyed.
|
static HtmlResource |
performAction(HttpSession session,
AdminConfigSecureLogin npsl,
AdminConfigResource resConf)
This method should return an HtmlResourceData instance with the document
that should be sent to the client.
|
void |
run()
The thread used for the count-down.
|
static void |
setupWebAppSession(HttpSession session,
VirtualSessionManager vsm)
Sets up variables for a Web Application if SecureLogin is used.
|
onAction, onAction, onCheckedChange, onContentChanged, onContentChanged, onControlEvent, onFocusGained, onFocusLost, onMenuAction, onPropertyChange, onSelectionChanged
onModalPanelCreate, onModalPanelProcessing, onPageActivated, onPanelClose, onPanelCreate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onPageActivated, onPanelClose, onPanelCreate
public static final String OBJECT_NAME
public SecureLogin(VirtualSessionManager vsm)
public static boolean isNpAppSessionValid(VirtualSessionManager vsm, String sessionString)
public static void setupWebAppSession(HttpSession session, VirtualSessionManager vsm)
public String getProfileName()
public void onPanelDestroy(VirtualPanel panel)
This function doesn't perform anything.
onPanelDestroy
in interface VirtualPanelListener
onPanelDestroy
in class VirtualPanelAdapter
panel
- The panel issuing the event.public void onAction(VirtualPanel vp, String controlID)
onAction
in class VirtualComponentAdapter
vp
- The panel issuing the event, parent of the control.controlID
- The control ID issuing the event.public boolean onPanelClosing(VirtualPanel vp)
onPanelClose
is called.onPanelClosing
in interface VirtualPanelListener
onPanelClosing
in class VirtualPanelAdapter
vp
- The panel issuing the event.VirtualPanelListener.onPanelClose(se.entra.phantom.server.VirtualPanel)
public static HtmlResource performAction(HttpSession session, AdminConfigSecureLogin npsl, AdminConfigResource resConf) throws IOException, NetPhantomApplicationException
The current directory of the CGI for the client agent is defined in the
HttpSession
class instance.
IOException
- for IO errors.NetPhantomApplicationException
- for application errors.Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© © Mindus SARL, 2024. All rights reserved.