Class SameRoleMapping

  • All Implemented Interfaces:
    org.seedstack.seed.security.RoleMapping

    public class SameRoleMapping
    extends Object
    implements org.seedstack.seed.security.RoleMapping
    RoleMapping that returns Roles which names are the realm data;
    • Constructor Detail

      • SameRoleMapping

        public SameRoleMapping()
    • Method Detail

      • resolveRoles

        public Set<org.seedstack.seed.security.Role> resolveRoles​(Set<String> realmData,
                                                                  Collection<org.seedstack.seed.security.principals.PrincipalProvider<?>> principalProviders)
        Specified by:
        resolveRoles in interface org.seedstack.seed.security.RoleMapping