|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.bouquet.jpa.domain.AuthUser
public class AuthUser
CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Data-Tier (JPA)
User admininstration (examination question)
Description:
Authenticated user business object implemented as plain old java object.
Copyright (c) 2007 bouquet dot ch, 3032 Hinterkappelen. All rights reseved.
Field Summary | |
---|---|
private java.util.Set<AuthRole> |
authRoleList
Authenticated role list of the authenticated user. |
private int |
authUserId
auth user id (primary key) |
private java.lang.String |
encryptionVersion
encryption version |
private java.util.Date |
lastLoginDat
last login date |
private static org.apache.log4j.Logger |
LOG
constant for the logging |
private java.lang.String |
login
login |
private java.lang.String |
password
password |
private static long |
serialVersionUID
Default serial version uid |
private int |
state
state |
Constructor Summary | |
---|---|
AuthUser()
Default constructor |
|
AuthUser(java.lang.String uid,
java.lang.String pwd,
java.lang.String encryptionVersion,
int state,
java.util.Date lastLoginDat,
java.util.Set<AuthRole> authRoleList)
Constructor |
|
AuthUser(java.lang.String uid,
java.lang.String pwd,
java.lang.String encryptionVersion,
int state,
java.util.Set<AuthRole> authRoleList)
Constructor |
Method Summary | |
---|---|
java.util.Set<AuthRole> |
getAuthRoleList()
Get auth role list |
int |
getAuthUserId()
Gets the authUserId. |
java.lang.String |
getEncryptionVersion()
Gets the encryptionVersion. |
java.util.Date |
getLastLoginDat()
Gets the lastLoginDat. |
java.lang.String |
getLogin()
Gets the login. |
java.lang.String |
getPassword()
Gets the password. |
int |
getState()
Gets the state. |
void |
setAuthRoleList(java.util.Set<AuthRole> authRoleList)
Set auth role list |
void |
setAuthUserId(int authUserId)
Sets the authUserId. |
void |
setEncryptionVersion(java.lang.String encryptionVersion)
Sets the encryptionVersion. |
void |
setLastLoginDat(java.util.Date lastLoginDat)
Sets the lastLoginDat. |
void |
setLogin(java.lang.String login)
Sets the login. |
void |
setPassword(java.lang.String password)
Sets the password. |
void |
setState(int state)
Sets the state. |
java.lang.String |
toString()
Return all attributes as String |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static org.apache.log4j.Logger LOG
private static final long serialVersionUID
private int authUserId
private java.lang.String login
private java.lang.String password
private java.lang.String encryptionVersion
private int state
private java.util.Date lastLoginDat
private java.util.Set<AuthRole> authRoleList
Constructor Detail |
---|
public AuthUser()
public AuthUser(java.lang.String uid, java.lang.String pwd, java.lang.String encryptionVersion, int state, java.util.Set<AuthRole> authRoleList)
uid
- Stringpwd
- StringencryptionVersion
- Stringstate
- intauthRoleList
- Setpublic AuthUser(java.lang.String uid, java.lang.String pwd, java.lang.String encryptionVersion, int state, java.util.Date lastLoginDat, java.util.Set<AuthRole> authRoleList)
uid
- Stringpwd
- StringencryptionVersion
- Stringstate
- intlastLoginDat
- DateauthRoleList
- SetMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getAuthUserId()
public void setAuthUserId(int authUserId)
authUserId
- The authUserId to setpublic java.lang.String getLogin()
public void setLogin(java.lang.String login)
login
- The login to setpublic java.lang.String getPassword()
public void setPassword(java.lang.String password)
password
- The password to setpublic java.lang.String getEncryptionVersion()
public void setEncryptionVersion(java.lang.String encryptionVersion)
encryptionVersion
- The encryptionVersion to setpublic int getState()
public void setState(int state)
state
- The state to setpublic java.util.Date getLastLoginDat()
public void setLastLoginDat(java.util.Date lastLoginDat)
lastLoginDat
- The lastLoginDat to setpublic java.util.Set<AuthRole> getAuthRoleList()
public void setAuthRoleList(java.util.Set<AuthRole> authRoleList)
authRoleList
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |