com.payneteasy.superfly.security.exception.StepTwoException 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;
/**
* Thrown to signal that step 2 of two-step authentication process
* must be initiated.
* Note: this exception class carries an
* {@link org.springframework.security.core.Authentication} instance,
* but this is safe here.
*
* @author Roman Puchkovskiy
* @see com.payneteasy.superfly.security.TwoStepAuthenticationProcessingFilter
*/
public class StepTwoException extends AuthenticationCarryingException {
private static final long serialVersionUID = -5091470653099959408L;
public StepTwoException(String msg) {
super(msg);
}
public StepTwoException(String msg, Throwable t) {
super(msg, t);
}
}