Interface OSecurityUser
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
OImmutableUser,OSystemUser,OUser
- Since:
- 03/11/14
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddRole(OSecurityRole iRole) allow(ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int iOperation) Deprecated.checkIfAllowed(ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int iOperation) checkIfAllowed(String iResource, int iOperation) Deprecated.booleancheckPassword(String iPassword) getName()Set<? extends OSecurityRole>getRoles()booleanbooleanisRuleDefined(ORule.ResourceGeneric resourceGeneric, String resourceSpecific) booleanisRuleDefined(String iResource) Deprecated.booleanremoveRole(String iRoleName) voidsetAccountStatus(OSecurityUser.STATUSES accountStatus) setPassword(String iPassword)
-
Field Details
-
SERVER_USER_TYPE
- See Also:
-
DATABASE_USER_TYPE
- See Also:
-
SECURITY_USER_TYPE
- See Also:
-
-
Method Details
-
allow
-
checkIfAllowed
OSecurityRole checkIfAllowed(ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int iOperation) -
isRuleDefined
-
allow
Deprecated. -
checkIfAllowed
Deprecated. -
isRuleDefined
Deprecated. -
checkPassword
-
getName
String getName() -
setName
-
getPassword
String getPassword() -
setPassword
-
getAccountStatus
OSecurityUser.STATUSES getAccountStatus() -
setAccountStatus
-
getRoles
Set<? extends OSecurityRole> getRoles() -
addRole
-
addRole
-
removeRole
-
hasRole
-
getIdentity
OIdentifiable getIdentity() -
getUserType
String getUserType()
-