|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.xmlserv.security.SecurityManager.User
This inner class encapsulates user credentials. Instances can only be created from within this package as all constructors are protected. Only get accessors are public.
Constructor Summary | |
|
SecurityManager.User()
create empty instance. |
protected |
SecurityManager.User(java.sql.Connection con,
int id)
Load by numeric id. |
protected |
SecurityManager.User(java.lang.String username,
java.lang.String password,
java.lang.String uid)
Create populated instance. |
protected |
SecurityManager.User(java.lang.String username,
java.lang.String password,
java.lang.String uid,
java.lang.String rolegroup,
int rolegroupid)
Create populated instance. |
Method Summary | |
java.lang.String |
getEmail()
|
int |
getId()
|
java.lang.String |
getPassword()
Get password. |
java.lang.String |
getRoleGroup()
|
int |
getRoleGroupId()
|
java.lang.String |
getUid()
Get user ID. |
java.lang.String |
getUsername()
Get username. |
void |
setEmail(java.lang.String email)
|
void |
setId(int id)
|
void |
setPassword(java.lang.String password)
Set password. |
void |
setRoleGroup(java.lang.String rolegroup)
|
void |
setRoleGroupId(int roleGroupId)
|
void |
setUid(java.lang.String uid)
Set user ID. |
void |
setUsername(java.lang.String username)
Set username. |
org.jdom.Element |
toElement()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SecurityManager.User()
protected SecurityManager.User(java.sql.Connection con, int id) throws XMLServException
protected SecurityManager.User(java.lang.String username, java.lang.String password, java.lang.String uid)
username
- The username.password
- The password.uid
- The user ID.protected SecurityManager.User(java.lang.String username, java.lang.String password, java.lang.String uid, java.lang.String rolegroup, int rolegroupid)
username
- The username.password
- The password.uid
- The user ID.rolegroup
- The users RoleGroup.Method Detail |
public int getId()
public void setId(int id)
public void setUsername(java.lang.String username)
username
- The username.public java.lang.String getUsername()
public void setPassword(java.lang.String password)
password
- The password.public java.lang.String getPassword()
public void setUid(java.lang.String uid)
uid
- The user ID.public java.lang.String getUid()
public java.lang.String getRoleGroup()
public void setRoleGroup(java.lang.String rolegroup)
public int getRoleGroupId()
public void setRoleGroupId(int roleGroupId)
public java.lang.String getEmail()
public void setEmail(java.lang.String email)
public org.jdom.Element toElement()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |