net.unicon.cas.mfa.authentication.AuthenticationMethodConfigurationProvider 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.authentication;
/**
* Defines where authentication methods come from, which are
* supported and how they are loaded into the application context.
* @author Misagh Moayyed
*/
public interface AuthenticationMethodConfigurationProvider {
/**
* Contains authentication method.
*
* @param name the name
* @return true if the method is found
*/
boolean containsAuthenticationMethod(String name);
/**
* Gets authentication method.
*
* @param name the name
* @return the authentication method, or null if none is found.
*/
AuthenticationMethod getAuthenticationMethod(String name);
}