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.
This is
AdaptiveAuthenticationPolicy.- Since:
- 5.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthenticationRequestAllowed(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 contextuserAgent- the user agentlocation- the location- Returns:
- true/false
- Throws:
Throwable- the throwable
-