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.

@FunctionalInterface public interface PrincipalElectionStrategyConflictResolver
This is PrincipalElectionStrategyConflictResolver that determines the final principal identifier as part of the principal election strategy.
Since:
6.4.0
  • Field Details

  • 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

      Principal resolve(List<Principal> principals)
      Resolve the principal id from the chain.
      Parameters:
      principals - the principals chain
      Returns:
      the final principal id