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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean apply​(org.springframework.webflow.execution.RequestContext requestContext, java.lang.String userAgent, GeoLocationRequest location)
      Apply the strategy to figure out whether this authentication attempt can proceed.
    • Method Detail

      • apply

        boolean apply​(org.springframework.webflow.execution.RequestContext requestContext,
                      java.lang.String userAgent,
                      GeoLocationRequest location)
        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