Package io.jmix.securityflowui.util
Interface UserSubstitutionCandidatePredicate
- All Superinterfaces:
BiPredicate<org.springframework.security.core.userdetails.UserDetails,org.springframework.security.core.userdetails.UserDetails>
- All Known Implementing Classes:
SameTenantUserSubstitutionCandidatePredicate
public interface UserSubstitutionCandidatePredicate
extends BiPredicate<org.springframework.security.core.userdetails.UserDetails,org.springframework.security.core.userdetails.UserDetails>
Interface to provide predicate to test the possibility to use some user as substitution based on target user.
Accepts the user to be substituted and another user as substitution candidate.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionof(BiPredicate<org.springframework.security.core.userdetails.UserDetails, org.springframework.security.core.userdetails.UserDetails> p) Wraps the genericBiPredicate<UserDetails, UserDetails>inUserSubstitutionCandidatePredicatetype.Methods inherited from interface java.util.function.BiPredicate
and, negate, or, test
-
Method Details
-
of
static UserSubstitutionCandidatePredicate of(BiPredicate<org.springframework.security.core.userdetails.UserDetails, org.springframework.security.core.userdetails.UserDetails> p) Wraps the genericBiPredicate<UserDetails, UserDetails>inUserSubstitutionCandidatePredicatetype.
-