Project

General

Profile

1
/**
2
 *  '$RCSfile$'
3
 *  Copyright: 2005 University of New Mexico and the 
4
 *             Regents of the University of California and the
5
 *             National Center for Ecological Analysis and Synthesis
6
 *   '$Author: costa $'
7
 *     '$Date: 2005-11-16 09:57:33 -0800 (Wed, 16 Nov 2005) $'
8
 * '$Revision: 2741 $'
9
 *
10
 * This program is free software; you can redistribute it and/or modify
11
 * it under the terms of the GNU General Public License as published by
12
 * the Free Software Foundation; either version 2 of the License, or
13
 * (at your option) any later version.
14
 *
15
 * This program is distributed in the hope that it will be useful,
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 * GNU General Public License for more details.
19
 *
20
 * You should have received a copy of the GNU General Public License
21
 * along with this program; if not, write to the Free Software
22
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
 */
24

    
25
package edu.ucsb.nceas.metacat.advancedsearch;
26

    
27
import java.io.Serializable;
28

    
29
/**
30
 * @author dcosta
31
 * 
32
 * Bean to store login form properties and values.
33
 *
34
 */
35
public class LoginBean implements Serializable {
36
  
37
  private String organization;      /* LDAP organization, e.g. "LTER" */
38
  private String password;          /* login password string */
39
  private String username;          /* login username string */
40
   
41
  /**
42
   * @return Returns the organization.
43
   */
44
  public String getOrganization() {
45
    return organization;
46
  }
47
  
48
  
49
  /**
50
   * @param organization The organization to set.
51
   */
52
  public void setOrganization(final String organization) {
53
    this.organization = organization;
54
  }
55
  
56
  
57
  /**
58
   * @return Returns the password.
59
   */
60
  public String getPassword() {
61
    return password;
62
  }
63
  
64
  
65
  /**
66
   * @param password The password to set.
67
   */
68
  public void setPassword(final String password) {
69
    this.password = password;
70
  }
71
  
72
  
73
  /**
74
   * @return Returns the username.
75
   */
76
  public String getUsername() {
77
    return username;
78
  }
79
  
80
  
81
  /**
82
   * @param username The username to set.
83
   */
84
  public void setUsername(final String username) {
85
    this.username = username;
86
  }
87
  
88
}
89

    
(9-9/14)