Class BaseClaimsRolesMapper

java.lang.Object
io.jmix.oidc.claimsmapper.BaseClaimsRolesMapper
All Implemented Interfaces:
ClaimsRolesMapper
Direct Known Subclasses:
DefaultClaimsRolesMapper

public class BaseClaimsRolesMapper extends Object implements ClaimsRolesMapper
ClaimsRolesMapper that can be used as super-class for your own ClaimsRolesMapper implementations. The child classes must override the getResourceRolesCodes(Map) or/and getRowLevelRoleCodes(Map) methods. The behavior for finding roles with given codes and transforming them into a collection of GrantedAuthority is already implemented in the current class.