net.unicon.cas.mfa.ticket.UnacceptableMultiFactorAuthenticationMethodException 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 request authentication method cannot be accepted/provided
* by this CAS server.
* @author Misagh Moayyed
* @see net.unicon.cas.mfa.MultiFactorAuthenticationProtocolValidationSpecification
*/
public class UnacceptableMultiFactorAuthenticationMethodException 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 UnacceptableMultiFactorAuthenticationMethodException(final String code, final String msg, final String authnMethod) {
super(code, msg, authnMethod);
}
}