Package io.jmix.securityflowui.util
Interface RoleAssignmentCandidatePredicate
- All Superinterfaces:
BiPredicate<org.springframework.security.core.userdetails.UserDetails,BaseRole>
- All Known Implementing Classes:
SameTenantRoleAssignmentCandidatePredicate
public interface RoleAssignmentCandidatePredicate
extends BiPredicate<org.springframework.security.core.userdetails.UserDetails,BaseRole>
Interface to provide predicate to test the possibility to assign some role to specific user.
Accepts the role to be assigned and the target user.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionof(BiPredicate<org.springframework.security.core.userdetails.UserDetails, BaseRole> p) Wraps the genericBiPredicate<UserDetails, BaseRole>inRoleAssignmentCandidatePredicatetype.Methods inherited from interface java.util.function.BiPredicate
and, negate, or, test
-
Method Details
-
of
static RoleAssignmentCandidatePredicate of(BiPredicate<org.springframework.security.core.userdetails.UserDetails, BaseRole> p) Wraps the genericBiPredicate<UserDetails, BaseRole>inRoleAssignmentCandidatePredicatetype.
-