public class OSystemUser extends OUser
OSecurityUser.STATUSES
ADMIN, CLASS_NAME, PASSWORD_FIELD, roles
document
Constructor and Description |
---|
OSystemUser()
Constructor used in unmarshalling.
|
OSystemUser(ODocument iSource)
Create the user by reading the source document.
|
OSystemUser(ODocument iSource,
String dbName)
dbName is the name of the source database and is used for filtering roles.
|
OSystemUser(String iName) |
OSystemUser(String iUserName,
String iUserPassword) |
OSystemUser(String iUserName,
String iUserPassword,
String userType) |
Modifier and Type | Method and Description |
---|---|
protected ORole |
createRole(ODocument roleDoc)
Derived classes can override createRole() to return an extended ORole implementation.
|
protected String |
getDatabaseName() |
String |
getUserType() |
addRole, addRole, allow, allow, checkIfAllowed, checkIfAllowed, checkPassword, encodePassword, encryptPassword, fromStream, getAccountStatus, getIdentity, getName, getPassword, getRoles, hasRole, isRuleDefined, isRuleDefined, removeRole, save, setAccountStatus, setName, setPassword, toString
equals, getDocument, hashCode, load, reload, reload, reload, save, toStream
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDocument
public OSystemUser()
public OSystemUser(String iName)
public OSystemUser(ODocument iSource)
protected String getDatabaseName()
protected ORole createRole(ODocument roleDoc)
createRole
in class OUser
public String getUserType()
getUserType
in interface OSecurityUser
getUserType
in class OUser
Copyright © 2009–2020 OrientDB. All rights reserved.