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 AdaptiveAuthenticationPolicyThis isAdaptiveAuthenticationPolicy.- Since:
- 5.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanapply(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 contextuserAgent- the user agentlocation- the location- Returns:
- true /false
-
-