public interface RoleMapping
|Modifier and Type||Method and Description|
Collection<Role> resolveRoles(Set<String> realmData, Collection<PrincipalProvider<?>> principalProviders)
Roles from the given data.
RoleMapping can have its own rules whether or not to give a
Role. These rules can be based on the given
The principalProviders collection is not null but the principal you may look for might not be present.
realmData- the authorization data coming from the realm as a set of String. Not null.
principalProviders- the principalProviders coming from the
Realmof this. Not null
Roles resolved from the data. Not null.
for utility methods to extract principalProviders from a collection.
Copyright © 2013-2018–2019 SeedStack. All rights reserved.