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. rmMapMethods in org.casbin.jcasbin.main that return RoleManager Modifier and Type Method Description RoleManagerCoreEnforcer. getNamedRoleManager(java.lang.String ptype)getNamedRoleManager gets the role manager for the named policy.RoleManagerCoreEnforcer. 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 voidCoreEnforcer. setNamedRoleManager(java.lang.String ptype, RoleManager rm)setNamedRoleManager sets the role manager for the named policy.voidCoreEnforcer. setRoleManager(java.lang.String ptype, RoleManager rm)setRoleManager sets role manager for ptype.voidCoreEnforcer. 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 RoleManagerAssertion. rmMethods in org.casbin.jcasbin.model with parameters of type RoleManager Modifier and Type Method Description voidAssertion. buildIncrementalRoleLinks(RoleManager rm, Model.PolicyOperations op, java.util.List<java.util.List<java.lang.String>> rules)protected voidAssertion. buildRoleLinks(RoleManager rm)Method parameters in org.casbin.jcasbin.model with type arguments of type RoleManager Modifier and Type Method Description voidPolicy. 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)voidPolicy. 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 classConditionalRoleManagerclassDefaultRoleManagerclassDomainManagerclassGroupRoleManagerGroupRoleManager 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.AviatorFunctionBuiltInFunctions.GenerateGFunctionClass. generateGFunction(java.lang.String name, RoleManager rm)generateGFunction is the factory method of the g(_, _) function.
-