
io.nixer.nixerplugin.captcha.security.CaptchaAuthenticationStatusException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nixer-plugin-captcha Show documentation
Show all versions of nixer-plugin-captcha Show documentation
Nixer plugin for Spring framework
package io.nixer.nixerplugin.captcha.security;
import org.springframework.security.authentication.AccountStatusException;
import org.springframework.security.authentication.ProviderManager;
/**
* Used to break authentication loop in Spring Security {@link ProviderManager} mechanism when captcha is invalid.
* This exception does not signalize anything about account status, it's purpose it to break authentication loop due to failed captcha.
*/
public class CaptchaAuthenticationStatusException extends AccountStatusException {
public CaptchaAuthenticationStatusException(final String msg, final Throwable t) {
super(msg, t);
}
public CaptchaAuthenticationStatusException(final String msg) {
super(msg);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy