org.apereo.cas.api.AuthenticationRiskMitigator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-electrofence Show documentation
Show all versions of cas-server-support-electrofence Show documentation
cas-server-support-electrofence
package org.apereo.cas.api;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.services.RegisteredService;
import jakarta.servlet.http.HttpServletRequest;
/**
* This is {@link AuthenticationRiskMitigator}.
*
* @author Misagh Moayyed
* @since 5.1.0
*/
public interface AuthenticationRiskMitigator {
/**
* Gets contingency plans.
*
* @return the contingency plans
*/
AuthenticationRiskContingencyPlan getContingencyPlan();
/**
* Mitigate.
*
* @param authentication the authentication
* @param service the service
* @param score the score
* @param request the request
* @return the responses
* @throws Throwable the throwable
*/
AuthenticationRiskContingencyResponse mitigate(Authentication authentication,
RegisteredService service,
AuthenticationRiskScore score,
HttpServletRequest request) throws Throwable;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy