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.