Interface AdaptiveAuthenticationPolicy

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 AdaptiveAuthenticationPolicy
Since:
5.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthenticationRequestAllowed(org.springframework.webflow.execution.RequestContext requestContext, String userAgent, GeoLocationRequest location)
    Apply the strategy to figure out whether this authentication attempt can proceed.
  • Method Details

    • isAuthenticationRequestAllowed

      boolean isAuthenticationRequestAllowed(org.springframework.webflow.execution.RequestContext requestContext, String userAgent, GeoLocationRequest location) throws Throwable
      Apply the strategy to figure out whether this authentication attempt can proceed.
      Parameters:
      requestContext - the request context
      userAgent - the user agent
      location - the location
      Returns:
      true/false
      Throws:
      Throwable - the throwable