com.dbxml.db.core.security
Class User
java.lang.Object
com.dbxml.db.core.security.User
- All Implemented Interfaces:
- XMLSerializable
- public class User
- extends java.lang.Object
- implements XMLSerializable
User
Constructor Summary |
User()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
User
public User()
streamToXML
public org.w3c.dom.Element streamToXML(org.w3c.dom.Document doc)
throws org.w3c.dom.DOMException
- Description copied from interface:
XMLSerializable
- streamToXML streams an object to XML.
- Specified by:
streamToXML
in interface XMLSerializable
- Parameters:
doc
- The Owner Document
- Returns:
- A newly created Element
- Throws:
org.w3c.dom.DOMException
- If an error occurs
streamFromXML
public void streamFromXML(org.w3c.dom.Element element)
throws org.w3c.dom.DOMException
- Description copied from interface:
XMLSerializable
- streamFromXML streams an object from XML.
- Specified by:
streamFromXML
in interface XMLSerializable
- Parameters:
element
- The Input Element
- Throws:
org.w3c.dom.DOMException
- If an error occurs
getId
public java.lang.String getId()
setId
public void setId(java.lang.String id)
setPassword
public void setPassword(java.lang.String textPassword)
checkPassword
public boolean checkPassword(java.lang.String textPassword)
addRole
public void addRole(Role role)
removeRole
public void removeRole(Role role)
listRoles
public java.lang.String[] listRoles()
Copyright (c) 2004 The dbXML Group