public interface OSecurityUser extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
OSecurityUser.STATUSES |
OSecurityRole allow(ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int iOperation)
OSecurityRole checkIfAllowed(ORule.ResourceGeneric resourceGeneric, String resourceSpecific, int iOperation)
boolean isRuleDefined(ORule.ResourceGeneric resourceGeneric, String resourceSpecific)
@Deprecated OSecurityRole allow(String iResource, int iOperation)
@Deprecated OSecurityRole checkIfAllowed(String iResource, int iOperation)
@Deprecated boolean isRuleDefined(String iResource)
boolean checkPassword(String iPassword)
String getName()
OSecurityUser setName(String iName)
String getPassword()
OSecurityUser setPassword(String iPassword)
OSecurityUser.STATUSES getAccountStatus()
void setAccountStatus(OSecurityUser.STATUSES accountStatus)
Set<? extends OSecurityRole> getRoles()
OSecurityUser addRole(String iRole)
OSecurityUser addRole(OSecurityRole iRole)
boolean removeRole(String iRoleName)
boolean hasRole(String iRoleName, boolean iIncludeInherited)
OIdentifiable getIdentity()
ODocument getDocument()
String getUserType()
Copyright © 2009–2020 OrientDB. All rights reserved.