1
2
3
4
5
6 package com.hack23.cia.service.api.user;
7
8 import com.hack23.cia.model.application.impl.user.UserAccountActionEvent.Operation;
9
10 /***
11 * The Class LoginRequest.
12 */
13 public class LoginRequest extends AbstractUserAccountRequest {
14
15 /*** The Constant serialVersionUID. */
16 private static final long serialVersionUID = 1L;
17
18 /*** The password. */
19 private final String password;
20
21 /*** The user name. */
22 private final String userName;
23
24 /***
25 * Instantiates a new login request.
26 *
27 * @param userSessionId the user session id
28 * @param operation the operation
29 * @param userName the user name
30 * @param password the password
31 */
32 public LoginRequest(final Long userSessionId, final Operation operation,final String userName,
33 final String password) {
34 super(userSessionId,operation);
35 this.userName = userName;
36 this.password = password;
37 }
38
39 /***
40 * Gets the password.
41 *
42 * @return the password
43 */
44 public final String getPassword() {
45 return password;
46 }
47
48 /***
49 * Gets the user name.
50 *
51 * @return the user name
52 */
53 public final String getUserName() {
54 return userName;
55 }
56 }