net.unicon.cas.mfa.web.support.AuthenticationMethodVerifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-mfa-java Show documentation
Show all versions of cas-mfa-java Show documentation
This module is intended to include all the Java you need to add to a CAS implementation
to take advantage of the extended multifactor authentication features in this project.
package net.unicon.cas.mfa.web.support;
import org.jasig.cas.authentication.principal.WebApplicationService;
import javax.servlet.http.HttpServletRequest;
/**
* Strategy interface for verifying requested mfa authentication methods.
*
* @author Dmitriy Kopylenko
* @author Unicon inc.
*/
public interface AuthenticationMethodVerifier {
/**
* Verify requested mfa authentication method.
*
* @param authenticationMethod requested authentication method
* @param targetService targetService
* @param request Http request
* @return true if the authn method is supported and verified
*/
boolean verifyAuthenticationMethod(String authenticationMethod, WebApplicationService targetService, HttpServletRequest request);
}