01: /**
02: * Copyright 2004-2005 jManage.org
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */package org.jmanage.webui.forms;
16:
17: import org.jmanage.core.auth.User;
18:
19: /**
20: * Date : Jul 27, 2004 11:40:54 PM
21: * @author Shashank
22: */
23: public class UserForm extends BaseForm {
24:
25: public static final String FORM_PASSWORD = "$$$$$$$$";
26:
27: private String username;
28: private String password;
29: private String confirmPassword;
30: private String role;
31:
32: public String getStatus() {
33: if (status == null) {
34: status = User.STATUS_ACTIVE;
35: }
36: return status;
37: }
38:
39: public void setStatus(String status) {
40: this .status = status;
41: }
42:
43: private String status;
44:
45: public String getUsername() {
46: return username;
47: }
48:
49: public void setUsername(String username) {
50: this .username = username;
51: }
52:
53: public String getPassword() {
54: return password;
55: }
56:
57: public void setPassword(String password) {
58: this .password = password;
59: }
60:
61: public String getConfirmPassword() {
62: return confirmPassword;
63: }
64:
65: public void setConfirmPassword(String confirmPassword) {
66: this .confirmPassword = confirmPassword;
67: }
68:
69: public String getRole() {
70: return role;
71: }
72:
73: public void setRole(String role) {
74: this.role = role;
75: }
76: }
|