Class AnnotatedRoleBuilderImpl
java.lang.Object
io.jmix.security.impl.role.builder.AnnotatedRoleBuilderImpl
- All Implemented Interfaces:
AnnotatedRoleBuilder
@Component("sec_AnnotatedRoleBuilder")
public class AnnotatedRoleBuilderImpl
extends Object
implements AnnotatedRoleBuilder
-
Constructor Summary
ConstructorDescriptionAnnotatedRoleBuilderImpl
(Collection<ResourcePolicyExtractor> resourcePolicyExtractors, Collection<RowLevelPolicyExtractor> rowLevelPolicyExtractors, ClassManager classManager) -
Method Summary
Modifier and TypeMethodDescriptioncreateResourceRole
(String className) createRowLevelRole
(String className) protected Collection<ResourcePolicy>
extractResourcePolicies
(Class<?> roleClass) protected Collection<RowLevelPolicy>
extractRowLevelPolicies
(Class<?> roleClass) protected void
initBaseParameters
(BaseRole role, String name, String code, String description) protected Class<?>
-
Constructor Details
-
AnnotatedRoleBuilderImpl
@Autowired public AnnotatedRoleBuilderImpl(Collection<ResourcePolicyExtractor> resourcePolicyExtractors, Collection<RowLevelPolicyExtractor> rowLevelPolicyExtractors, ClassManager classManager)
-
-
Method Details
-
createResourceRole
- Specified by:
createResourceRole
in interfaceAnnotatedRoleBuilder
-
createRowLevelRole
- Specified by:
createRowLevelRole
in interfaceAnnotatedRoleBuilder
-
loadClass
-
initBaseParameters
-
extractResourcePolicies
-
extractRowLevelPolicies
-