net.unicon.cas.mfa.ticket.UnrecognizedMultiFactorAuthenticationMethodException 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.ticket;
/**
* Multifactor authentication exception that is thrown
* when the requested authentication method cannot be accepted
* or isn't support by this CAS server.
* @author Misagh Moayyed
* @see net.unicon.cas.mfa.AbstractMultiFactorAuthenticationProtocolValidationSpecification
*/
public class UnrecognizedMultiFactorAuthenticationMethodException extends MultiFactorAuthenticationBaseTicketValidationException {
private static final long serialVersionUID = -8544747236126342213L;
/**
* Constructor to spin up the exception instance.
* @param code error code
* @param msg error message
* @param authnMethod authentication method associated with the error
*/
public UnrecognizedMultiFactorAuthenticationMethodException(final String code, final String msg, final String authnMethod) {
super(code, msg, authnMethod);
}
}