01: // license-header java merge-point
02: package org.andromda.samples.carrental.admins.web.login;
03:
04: import org.apache.struts.action.ActionMapping;
05:
06: import javax.servlet.http.HttpServletRequest;
07: import javax.servlet.http.HttpServletResponse;
08:
09: /**
10: * @see org.andromda.samples.carrental.admins.web.login.AdministratorLoginController
11: */
12: public class AdministratorLoginControllerImpl extends
13: AdministratorLoginController {
14: /**
15: * @see org.andromda.samples.carrental.admins.web.login.AdministratorLoginController#authenticateAsAdministrator(org.apache.struts.action.ActionMapping, org.andromda.samples.carrental.admins.web.login.AuthenticateAsAdministratorForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
16: */
17: public final java.lang.String authenticateAsAdministrator(
18: ActionMapping mapping,
19: org.andromda.samples.carrental.admins.web.login.AuthenticateAsAdministratorForm form,
20: HttpServletRequest request, HttpServletResponse response)
21: throws Exception {
22: // this property receives a default value, just to have the application running on dummy data
23: form.setPassword("password-test");
24: // this property receives a default value, just to have the application running on dummy data
25: form.setAccountNo("accountNo-test");
26: // this property receives a default value, just to have the application running on dummy data
27: form.setName("name-test");
28: return null;
29: }
30:
31: }
|