Package org.apereo.cas.authentication
Interface PrincipalElectionStrategyConflictResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is
PrincipalElectionStrategyConflictResolver
that determines the final principal identifier
as part of the principal election strategy.- Since:
- 6.4.0
-
Field Details
-
BEAN_NAME
Default bean name.- See Also:
-
-
Method Details
-
last
Pick the last principal in the chain of principals resolved.- Returns:
- the principal election strategy conflict resolver
-
first
Pick the first principal in the chain of principals resolved.- Returns:
- the principal election strategy conflict resolver
-
resolve
Resolve the principal id from the chain.- Parameters:
principals
- the principals chain- Returns:
- the final principal id
-