Class OSystemUser
java.lang.Object
com.orientechnologies.orient.core.metadata.security.OIdentity
com.orientechnologies.orient.core.metadata.security.OUser
com.orientechnologies.orient.core.metadata.security.OSystemUser
- All Implemented Interfaces:
OSecurityUser,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.orientechnologies.orient.core.metadata.security.OSecurityUser
OSecurityUser.STATUSES -
Field Summary
Fields inherited from class com.orientechnologies.orient.core.metadata.security.OUser
ADMIN, CLASS_NAME, PASSWORD_FIELD, rolesFields inherited from interface com.orientechnologies.orient.core.metadata.security.OSecurityUser
DATABASE_USER_TYPE, SECURITY_USER_TYPE, SERVER_USER_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionConstructor 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) -
Method Summary
Modifier and TypeMethodDescriptionprotected ORolecreateRole(ODocument roleDoc) Derived classes can override createRole() to return an extended ORole implementation.protected StringMethods inherited from class com.orientechnologies.orient.core.metadata.security.OUser
addRole, addRole, allow, allow, checkIfAllowed, checkIfAllowed, checkPassword, encodePassword, encryptPassword, fromStream, getAccountStatus, getDocument, getIdentity, getName, getPassword, getRoles, hasRole, isRuleDefined, isRuleDefined, removeRole, save, save, setAccountStatus, setName, setPassword, toString
-
Constructor Details
-
OSystemUser
public OSystemUser()Constructor used in unmarshalling. -
OSystemUser
-
OSystemUser
-
OSystemUser
-
OSystemUser
Create the user by reading the source document. -
OSystemUser
dbName is the name of the source database and is used for filtering roles.
-
-
Method Details
-
getDatabaseName
-
createRole
Derived classes can override createRole() to return an extended ORole implementation.- Overrides:
createRolein classOUser
-
getUserType
- Specified by:
getUserTypein interfaceOSecurityUser- Overrides:
getUserTypein classOUser
-