Class DatabaseRoleAssignmentProvider
java.lang.Object
io.jmix.securitydata.impl.role.assignment.DatabaseRoleAssignmentProvider
- All Implemented Interfaces:
RoleAssignmentProvider
@Component("sec_DatabaseRoleAssignmentProvider")
public class DatabaseRoleAssignmentProvider
extends Object
implements RoleAssignmentProvider
Role assignment provider that gets role assignments from the database.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected RoleAssignment
buildRoleAssignment
(RoleAssignmentEntity roleAssignmentEntity) getAssignmentsByUsername
(String username)
-
Field Details
-
dataManager
-
-
Constructor Details
-
DatabaseRoleAssignmentProvider
public DatabaseRoleAssignmentProvider()
-
-
Method Details
-
getAllAssignments
- Specified by:
getAllAssignments
in interfaceRoleAssignmentProvider
-
getAssignmentsByUsername
- Specified by:
getAssignmentsByUsername
in interfaceRoleAssignmentProvider
-
buildRoleAssignment
-