1    package com.instantbank.collections.security.realm;
2    
3    import weblogic.security.acl.BasicRealm;
4    import weblogic.security.acl.User;
5    
6    /**
7     * A Class class.
8     * <P>
9     *
10    * @author Indudata Ltd.
11    */
12   public class InstantbankRealmUser extends User {
13     //fields
14     private InstantbankRealm realm = null;
15     private String passwd = null;
16     private Long userId = null;
17     private Long sprfId = null;
18     private Long userStatus = null;
19   
20   
21     public BasicRealm getRealm() {
22       return realm;
23     }
24   
25   
26     public String getPassword() {
27       return passwd;
28     }
29   
30   
31     public Long getSprfId() {
32       return sprfId;
33     }
34   
35   
36     public Long getUserId() {
37       return userId;
38     }
39   
40   
41     public Long getUserStatus() {
42       return userStatus;
43     }
44   
45   
46     /**
47      * Constructor
48      *
49      * @param name Description of the Parameter
50      * @param passwd Description of the Parameter
51      * @param userId Description of the Parameter
52      * @param sprfId Description of the Parameter
53      * @param userStatus Description of the Parameter
54      * @param realm Description of the Parameter
55      */
56     public InstantbankRealmUser(String name, String passwd, Long userId, Long sprfId, Long userStatus, InstantbankRealm realm) {
57       super(name);
58       this.realm = realm;
59       this.passwd = passwd;
60       this.userId = userId;
61       this.sprfId = sprfId;
62       this.userStatus = userStatus;
63     }
64   }
65