com.payneteasy.superfly.security.exception.BadOTPValueException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of superfly-spring-security Show documentation
Show all versions of superfly-spring-security Show documentation
Module for Spring Security which enables application to use Superfly authentication/authorization declaratively through Spring Security
package com.payneteasy.superfly.security.exception;
import org.springframework.security.authentication.BadCredentialsException;
/**
* Exception that is thrown when a one-time password check fails.
*
* @author Roman Puchkovskiy
*/
public class BadOTPValueException extends BadCredentialsException {
private static final long serialVersionUID = 7345118080712359843L;
public BadOTPValueException(String msg, Throwable t) {
super(msg, t);
}
public BadOTPValueException(String msg) {
super(msg);
}
}