All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nixer.nixerplugin.captcha.security.CaptchaAuthenticationStatusException Maven / Gradle / Ivy

There is a newer version: 0.1.1.3
Show newest version
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