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
Since:
5.1.0
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    boolean
    isAuthenticationRequestAllowed(org.springframework.webflow.execution.RequestContext requestContext, String userAgent, org.apereo.cas.authentication.adaptive.geo.GeoLocationRequest location)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      isAuthenticationRequestAllowed in interface org.apereo.cas.authentication.adaptive.AdaptiveAuthenticationPolicy
      Throws:
      Throwable