public class AuthenticateAction extends FigureAction
AuthenticationManager First the user is prompted for the
appropriate domain name to use for authentication. Then the
AuthenticationManager is used to validate the user in that domain.FigureAction.SourceType| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
domainName |
CANVAS_TYPE, CONTEXTMENU_TYPE, HOTKEY_TYPE, MENUBAR_TYPE, PASTE_OFFSET, TOOLBAR_TYPE| Constructor and Description |
|---|
AuthenticateAction(TableauFrame parent)
Constructor
|
AuthenticateAction(TableauFrame parent,
AuthenticationListener authListener)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Invoked when an action occurs.
|
protected void |
doAction() |
protected void |
fireAuthentication() |
java.lang.String |
getDomainName()
Get the selected domain name.
|
getFigure, getFrame, getSourceType, getTarget, getX, getY, offsetFigureprotected java.lang.String domainName
public AuthenticateAction(TableauFrame parent)
parent - the "frame" (derived from ptolemy.gui.Top) where the menu is
being added.public AuthenticateAction(TableauFrame parent, AuthenticationListener authListener)
parent - the "frame" (derived from ptolemy.gui.Top) where the menu is
being added.authListener - listener of the authentication processpublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed in interface java.awt.event.ActionListeneractionPerformed in class FigureActione - ActionEventprotected void doAction()
public java.lang.String getDomainName()
protected void fireAuthentication()