Interface MultifactorAuthenticationProviderSelector

  • 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 MultifactorAuthenticationProviderSelector
    This is MultifactorAuthenticationProviderSelector that decides how to resolve a single provider from a collection available to a registered service.
    Since:
    5.0.0
    • Method Detail

      • resolve

        MultifactorAuthenticationProvider resolve​(java.util.Collection<MultifactorAuthenticationProvider> providers,
                                                  org.apereo.cas.services.RegisteredService service,
                                                  org.apereo.cas.authentication.principal.Principal principal)
        Resolve multifactor authentication provider.
        Parameters:
        providers - the providers
        service - the service
        principal - the principal
        Returns:
        the multifactor authentication provider