Class DefaultAdaptiveAuthenticationPolicy
java.lang.Object
org.apereo.cas.authentication.adaptive.DefaultAdaptiveAuthenticationPolicy
- All Implemented Interfaces:
org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy
public class DefaultAdaptiveAuthenticationPolicy
extends Object
implements org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy
This is
DefaultAdaptiveAuthenticationPolicy.- Since:
- 5.1.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultAdaptiveAuthenticationPolicy(org.apereo.cas.authentication.adaptive.geo.GeoLocationService geoLocationService, org.apereo.cas.authentication.adaptive.intel.IPAddressIntelligenceService ipAddressIntelligenceService, org.apereo.cas.configuration.model.core.authentication.AdaptiveAuthenticationProperties adaptiveAuthenticationProperties) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisAuthenticationRequestAllowed(org.springframework.webflow.execution.RequestContext requestContext, String userAgent, org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest location)
-
Constructor Details
-
DefaultAdaptiveAuthenticationPolicy
public DefaultAdaptiveAuthenticationPolicy(org.apereo.cas.authentication.adaptive.geo.GeoLocationService geoLocationService, org.apereo.cas.authentication.adaptive.intel.IPAddressIntelligenceService ipAddressIntelligenceService, org.apereo.cas.configuration.model.core.authentication.AdaptiveAuthenticationProperties adaptiveAuthenticationProperties)
-
-
Method Details
-
isAuthenticationRequestAllowed
public boolean isAuthenticationRequestAllowed(org.springframework.webflow.execution.RequestContext requestContext, String userAgent, org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest location) throws Throwable - Specified by:
isAuthenticationRequestAllowedin interfaceorg.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy- Throws:
Throwable
-