Interface MultifactorAuthenticationContextValidator

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 MultifactorAuthenticationContextValidator
This is MultifactorAuthenticationContextValidator, which is responsible for evaluating an authentication object to see whether it satisfied a requested authentication context.
Since:
5.1.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Default impl bean name.
  • Method Summary

    Modifier and Type
    Method
    Description
    validate(org.apereo.cas.authentication.Authentication authentication, String requestedContext, Optional<org.apereo.cas.services.RegisteredService> service)
    Validate the authentication context.
  • Field Details

  • Method Details

    • validate

      MultifactorAuthenticationContextValidationResult validate(org.apereo.cas.authentication.Authentication authentication, String requestedContext, Optional<org.apereo.cas.services.RegisteredService> service)
      Validate the authentication context.
      Parameters:
      authentication - the authentication
      requestedContext - the requested context
      service - the service
      Returns:
      the result indicates whether context is satisfied, and if so, by which provider.