Uses of Interface
org.casbin.jcasbin.rbac.RoleManager
-
Packages that use RoleManager Package Description org.casbin.jcasbin.main org.casbin.jcasbin.model org.casbin.jcasbin.rbac org.casbin.jcasbin.util -
-
Uses of RoleManager in org.casbin.jcasbin.main
Fields in org.casbin.jcasbin.main with type parameters of type RoleManager Modifier and Type Field Description (package private) java.util.Map<java.lang.String,RoleManager>
CoreEnforcer. rmMap
Methods in org.casbin.jcasbin.main that return RoleManager Modifier and Type Method Description RoleManager
CoreEnforcer. getNamedRoleManager(java.lang.String ptype)
getNamedRoleManager gets the role manager for the named policy.RoleManager
CoreEnforcer. getRoleManager()
getRoleManager gets the current role manager.Methods in org.casbin.jcasbin.main that return types with arguments of type RoleManager Modifier and Type Method Description java.util.Map<java.lang.String,RoleManager>
CoreEnforcer. getRmMap()
getRmMap gets the current role manager map.Methods in org.casbin.jcasbin.main with parameters of type RoleManager Modifier and Type Method Description void
CoreEnforcer. setNamedRoleManager(java.lang.String ptype, RoleManager rm)
setNamedRoleManager sets the role manager for the named policy.void
CoreEnforcer. setRoleManager(java.lang.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 RoleManager Modifier and Type Field Description RoleManager
Assertion. rm
Methods in org.casbin.jcasbin.model with parameters of type RoleManager Modifier and Type Method Description void
Assertion. buildIncrementalRoleLinks(RoleManager rm, Model.PolicyOperations op, java.util.List<java.util.List<java.lang.String>> rules)
protected void
Assertion. buildRoleLinks(RoleManager rm)
Method parameters in org.casbin.jcasbin.model with type arguments of type RoleManager Modifier and Type Method Description void
Policy. buildIncrementalRoleLinks(java.util.Map<java.lang.String,RoleManager> rmMap, Model.PolicyOperations op, java.lang.String sec, java.lang.String ptype, java.util.List<java.util.List<java.lang.String>> rules)
void
Policy. buildRoleLinks(java.util.Map<java.lang.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 RoleManager Modifier and Type Class Description class
ConditionalRoleManager
class
DefaultRoleManager
class
DomainManager
class
GroupRoleManager
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 RoleManager Modifier and Type Method Description static com.googlecode.aviator.runtime.type.AviatorFunction
BuiltInFunctions.GenerateGFunctionClass. generateGFunction(java.lang.String name, RoleManager rm)
generateGFunction is the factory method of the g(_, _) function.
-