Class ORule
java.lang.Object
com.orientechnologies.orient.core.metadata.security.ORule
- All Implemented Interfaces:
Serializable
- Since:
- 08/11/14
- Author:
- Andrey Lomakin (a.lomakin-at-orientdb.com)
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsSpecificResource(String resource) voidgrantAccess(String resource, int operation) static ORule.ResourceGenericmapLegacyResourceToGenericResource(String resource) static StringmapLegacyResourceToSpecificResource(String resource) static StringmapResourceGenericToLegacyResource(ORule.ResourceGeneric resourceGeneric) voidrevokeAccess(String resource, int operation)
-
Constructor Details
-
ORule
public ORule(ORule.ResourceGeneric resourceGeneric, Map<String, Byte> specificResources, Byte access)
-
-
Method Details
-
mapLegacyResourceToGenericResource
-
mapResourceGenericToLegacyResource
-
mapLegacyResourceToSpecificResource
-
getAccess
-
getResourceGeneric
-
getSpecificResources
-
grantAccess
-
revokeAccess
-
isAllowed
-
containsSpecificResource
-