@Override
    public boolean preHandle(final HttpServletRequest request, final HttpServletResponse response, final Object handler) {
        FrameworkAdapter.INSTANCE.applyDefaultSettingsIfUndefined(this.config);
        val result = config.getSecurityLogic().perform(this.config, (ctx, session, profiles) -> true,
            this.clientNames, DefaultAuthorizers.IS_FULLY_AUTHENTICATED, DefaultMatchers.SECURITYHEADERS, new JEEFrameworkParameters(request, response));
        return result != null && Boolean.parseBoolean(result.toString());
    }
This is {@link SecurityLogicInterceptor}.

@author Misagh Moayyed
@since 7.0.0
support/cas-server-support-pac4j-api/src/main/java/org/apereo/cas/web/SecurityLogicInterceptor.java