Uses of Interface
org.casbin.jcasbin.rbac.RoleManager
Packages that use RoleManager
Package
Description
-
Uses of RoleManager in org.casbin.jcasbin.main
Fields in org.casbin.jcasbin.main with type parameters of type RoleManagerMethods in org.casbin.jcasbin.main that return RoleManagerModifier and TypeMethodDescriptionCoreEnforcer.getNamedRoleManager
(String ptype) getNamedRoleManager gets the role manager for the named policy.CoreEnforcer.getRoleManager()
getRoleManager gets the current role manager.Methods in org.casbin.jcasbin.main that return types with arguments of type RoleManagerModifier and TypeMethodDescriptionCoreEnforcer.getRmMap()
getRmMap gets the current role manager map.Methods in org.casbin.jcasbin.main with parameters of type RoleManagerModifier and TypeMethodDescriptionvoid
CoreEnforcer.setNamedRoleManager
(String ptype, RoleManager rm) setNamedRoleManager sets the role manager for the named policy.void
CoreEnforcer.setRoleManager
(String ptype, RoleManager rm) setRoleManager sets role manager for ptype.void
CoreEnforcer.setRoleManager
(RoleManager rm) setRoleManager sets the current role manager for g. -
Uses of RoleManager in org.casbin.jcasbin.model
Fields in org.casbin.jcasbin.model declared as RoleManagerMethods in org.casbin.jcasbin.model with parameters of type RoleManagerModifier and TypeMethodDescriptionvoid
Assertion.buildIncrementalRoleLinks
(RoleManager rm, Model.PolicyOperations op, List<List<String>> rules) protected void
Assertion.buildRoleLinks
(RoleManager rm) Method parameters in org.casbin.jcasbin.model with type arguments of type RoleManagerModifier and TypeMethodDescriptionvoid
Policy.buildIncrementalRoleLinks
(Map<String, RoleManager> rmMap, Model.PolicyOperations op, String sec, String ptype, List<List<String>> rules) void
Policy.buildRoleLinks
(Map<String, RoleManager> rmMap) buildRoleLinks initializes the roles in RBAC. -
Uses of RoleManager in org.casbin.jcasbin.rbac
Classes in org.casbin.jcasbin.rbac that implement RoleManagerModifier and TypeClassDescriptionclass
class
class
class
GroupRoleManager is used for authorization if the user's group is the role who has permission, but the group information is in the default format (policy start with "g") and the role information is in named format (policy start with "g2", "g3", ...). -
Uses of RoleManager in org.casbin.jcasbin.util
Methods in org.casbin.jcasbin.util with parameters of type RoleManagerModifier and TypeMethodDescriptionstatic com.googlecode.aviator.runtime.type.AviatorFunction
BuiltInFunctions.GenerateGFunctionClass.generateGFunction
(String name, RoleManager rm) generateGFunction is the factory method of the g(_, _) function.