View Javadoc

1   /*******************************************************************************
2    *  Copyright (c) 2005, 2006 Imola Informatica.
3    *  All rights reserved. This program and the accompanying materials
4    *  are made available under the terms of the LGPL License v2.1
5    *  which accompanies this distribution, and is available at
6    *  http://www.gnu.org/licenses/lgpl.html
7    *******************************************************************************/
8   /**
9    * 
10   */
11  package it.imolinfo.jbi4cics.security;
12  
13  /**
14   * @author raffaele
15   *
16   */
17  public class J2CAccount implements Account {
18    
19    private String username;
20    private String password;
21    
22    /**
23     * 
24     */
25    public J2CAccount() {
26      super();
27      // TODO Auto-generated constructor stub
28    }
29    
30    /**
31     * @param password The password to set.
32     */
33    public void setPassword(String password) {
34      this.password = password;
35    }
36  
37    /**
38     * @param username The username to set.
39     */
40    public void setUsername(String username) {
41      this.username = username;
42    }
43  
44    
45  
46    /* (non-Javadoc)
47     * @see it.imolinfo.jbi4cics.security.Account#getUserName()
48     */
49    public String getUsername() {
50      // TODO Auto-generated method stub
51      return username;
52    }
53  
54    /* (non-Javadoc)
55     * @see it.imolinfo.jbi4cics.security.Account#getPassword()
56     */
57    public String getPassword() {
58      // TODO Auto-generated method stub
59      return password;
60    }
61  
62  }