| com.ivata.groupware.admin.security.struts.LoginAction com.ivata.groupware.admin.security.struts.LoginGuestAction
All known Subclasses: com.ivata.groupware.admin.struts.HibernateSetupAction,
LoginGuestAction | public class LoginGuestAction extends LoginAction (Code) | | This Action is invoked whenever you don't have a valid
session.
since: 2004-12-23 author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.3 $ |
Method Summary | |
protected String | checkForm(ActionMapping mappingParam, ActionForm formParam) Check the form is valid and, if not, return the action forward we should
go to, to sort it out.
Parameters: mapping - current action mapping from Struts config. Parameters: formParam - optional ActionForm bean for this request (if any). | 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 - current action mapping from Struts config. Parameters: request - non-HTTP request we are processing Parameters: response - The non-HTTP response we are creating Parameters: session - returned from the request parameter. Parameters: log - valid logging object to write messages to. Parameters: formParam - optional ActionForm bean for this request (if any) Parameters: guestUserName - current user name from session. | 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. |
LoginGuestAction | public LoginGuestAction(Security securityParam, Settings settingsParam, MaskFactory maskFactoryParam, MaskAuthenticator authenticatorParam)(Code) | | TODO
Parameters: security - Parameters: maskFactory - This factory is needed to access the masks and groupsof masks. Parameters: authenticator - used to confirm whether or not theuser should be allowed to continue, in the execute method. |
checkForm | protected String checkForm(ActionMapping mappingParam, ActionForm formParam)(Code) | | Check the form is valid and, if not, return the action forward we should
go to, to sort it out.
Parameters: mapping - current action mapping from Struts config. Parameters: formParam - optional ActionForm bean for this request (if any). null if the action should continue, otherwise thename of a forward to pass control to. |
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 - current action mapping from Struts config. Parameters: request - non-HTTP request we are processing Parameters: response - The non-HTTP response we are creating Parameters: session - returned from the request parameter. Parameters: log - valid logging object to write messages to. Parameters: formParam - optional ActionForm bean for this request (if any) Parameters: guestUserName - current user name from session. Not needed forthis action. Parameters: settings - valid, non-null settings from session. 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. |
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 . |
Fields inherited from com.ivata.groupware.admin.security.struts.LoginAction | final public static String USE_LAST_THEME(Code)(Java Doc)
|
|
|