Package io.jmix.security.authentication
Interface PolicyAwareGrantedAuthority
- All Superinterfaces:
org.springframework.security.core.GrantedAuthority
,Serializable
- All Known Implementing Classes:
RoleGrantedAuthority
public interface PolicyAwareGrantedAuthority
extends org.springframework.security.core.GrantedAuthority
An granted authority that stores security policies.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<I extends ResourcePolicyIndex>
Stream<ResourcePolicy>getResourcePoliciesByIndex
(Class<I> indexClass, Function<I, Stream<ResourcePolicy>> extractor) <I extends RowLevelPolicyIndex>
Stream<RowLevelPolicy>getRowLevelPoliciesByIndex
(Class<I> indexClass, Function<I, Stream<RowLevelPolicy>> extractor) Methods inherited from interface org.springframework.security.core.GrantedAuthority
getAuthority
-
Method Details
-
getScopes
Collection<String> getScopes() -
getResourcePolicies
Collection<ResourcePolicy> getResourcePolicies() -
getRowLevelPolicies
Collection<RowLevelPolicy> getRowLevelPolicies() -
getResourcePoliciesByIndex
<I extends ResourcePolicyIndex> Stream<ResourcePolicy> getResourcePoliciesByIndex(Class<I> indexClass, Function<I, Stream<ResourcePolicy>> extractor) -
getRowLevelPoliciesByIndex
<I extends RowLevelPolicyIndex> Stream<RowLevelPolicy> getRowLevelPoliciesByIndex(Class<I> indexClass, Function<I, Stream<RowLevelPolicy>> extractor)
-