All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.unicon.cas.mfa.web.support.AuthenticationMethodVerifier Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 2.0.0-RC3
Show newest version
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy