1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 package eteg.sinon.core;
24
25 /***
26 * Class that represents security configuration (login, password) in Sinon..
27 *
28 * @author <a href="mailto:thiagohp at users.sourceforge.net">Thiago H. de Paula Figueiredo</a>
29 * @author Last modified by $Author: thiagohp $
30 * @version $Revision: 1.2 $
31 */
32 public class SecurityConfiguration {
33
34 /***
35 * Identifier.
36 */
37 private String id;
38
39 /***
40 * Login.
41 */
42 private String login;
43
44 /***
45 * Password.
46 */
47 private String password;
48
49 /***
50 * Constructor without parameters.
51 */
52 public SecurityConfiguration() {
53 }
54
55 /***
56 * Returns the value of the <code>id</code> property.
57 * @return a <code>String</code>.
58 */
59 public String getId() {
60 return id;
61 }
62
63 /***
64 * Sets the value of the <code>id</code> property.
65 * @param id the new <code>id</code> value.
66 */
67 public void setId(String id) {
68 this.id = id;
69 }
70
71 /***
72 * Returns the value of the <code>login</code> property.
73 * @return a <code>String</code>.
74 */
75 public String getLogin() {
76 return login;
77 }
78
79 /***
80 * Sets the value of the <code>login</code> property.
81 * @param login the new <code>login</code> value.
82 */
83 public void setLogin(String login) {
84 this.login = login;
85 }
86
87 /***
88 * Returns the value of the <code>password</code> property.
89 * @return a <code>String</code>.
90 */
91 public String getPassword() {
92 return password;
93 }
94
95 /***
96 * Sets the value of the <code>password</code> property.
97 * @param password the new <code>password</code> value.
98 */
99 public void setPassword(String password) {
100 this.password = password;
101 }
102
103 }