View Javadoc
1   /*
2    * $Header: /cvsroot/sinon/sinon/src/java/eteg/sinon/core/SecurityConfiguration.java,v 1.2 2005/06/21 14:25:08 thiagohp Exp $
3    * $Revision: 1.2 $
4    * $Date: 2005/06/21 14:25:08 $
5    * $Author: thiagohp $
6    *
7    * =============================================================================
8    *
9    * Copyright 2004-2005 Eteg Internet Ltda. (http://www.eteg.com.br)
10   *
11   * Licensed under the Apache License, Version 2.0 (the "License");
12   * you may not use this file except in compliance with the License.
13   * You may obtain a copy of the License at
14   *
15   *     http://www.apache.org/licenses/LICENSE-2.0
16   *
17   * Unless required by applicable law or agreed to in writing, software
18   * distributed under the License is distributed on an "AS IS" BASIS,
19   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20   * See the License for the specific language governing permissions and
21   * limitations under the License.
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 }