| com.ivata.groupware.admin.security.struts.LoginAction
All known Subclasses: com.ivata.groupware.admin.security.struts.LoginGuestAction, com.ivata.groupware.admin.security.struts.JavaScriptAction,
LoginAction | public class LoginAction extends MaskAction (Code) | | This Action is invoked whenever someone tries to
login to the intranet system.
since: 2003-01-15 author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.5 $ |
Field Summary | |
final public static String | USE_LAST_THEME Theme name which means the user wants to use the same theme as last time. |
Constructor Summary | |
public | LoginAction(Security securityParam, Settings settingsParam, MaskFactory maskFactory, MaskAuthenticator authenticator) Constructor. |
Method Summary | |
public ActionForward | execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) Overrides and extends (calls) the super class implementation to
tell it not to check the session.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: form - The optional ActionForm bean for this request (if any). Parameters: request - The non-HTTP request we are processing. Parameters: response - The non-HTTP response we are creating. exception: Exception - if the application business logic throwsan exception. | public String | execute(ActionMapping mapping, ActionForm formParam, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) Overridden from the default intranet implementation to
manipulate user login.
Parameters: mapping - Parameters: formParam - Parameters: request - Parameters: response - Parameters: session - Parameters: clientSession - exception: SystemException - if there is any problem whichprevents processing. |
USE_LAST_THEME | final public static String USE_LAST_THEME(Code) | | Theme name which means the user wants to use the same theme as last time.
|
LoginAction | public LoginAction(Security securityParam, Settings settingsParam, MaskFactory maskFactory, MaskAuthenticator authenticator)(Code) | | Constructor. Normally called by PicoContainer .
Parameters: securityParam - The system security interface is responsible foractually logging the user in. Parameters: settingsParam - Used to retrieve site settings for default databasename, default forward, default theme. Parameters: maskFactory - Parameters: authenticator - |
execute | public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception(Code) | | Overrides and extends (calls) the super class implementation to
tell it not to check the session.
Parameters: mapping - The ActionMapping used to select this instance. Parameters: form - The optional ActionForm bean for this request (if any). Parameters: request - The non-HTTP request we are processing. Parameters: response - The non-HTTP response we are creating. exception: Exception - if the application business logic throwsan exception. this method returns a "success" ActionForward if the compose session is cancelled orsuccessfully sent, otherwise a "failure" ActionForward . |
execute | public String execute(ActionMapping mapping, ActionForm formParam, HttpServletRequest request, HttpServletResponse response, HttpSession session, ClientSession clientSession) throws SystemException(Code) | | Overridden from the default intranet implementation to
manipulate user login.
Parameters: mapping - Parameters: formParam - Parameters: request - Parameters: response - Parameters: session - Parameters: clientSession - exception: SystemException - if there is any problem whichprevents processing. It will result in the webapp being forwardedtothe standard error page. this method returns the string used to identify the correctStruts ActionForward which should follow thispage, or null if it should return to the input. |
|
|