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

org.apereo.cas.impl.plans.RiskyAuthenticationException Maven / Gradle / Ivy

There is a newer version: 7.2.0-RC4
Show newest version
package org.apereo.cas.impl.plans;

import org.apereo.cas.authentication.AuthenticationException;

import lombok.Getter;
import lombok.NoArgsConstructor;

import java.io.Serial;

/**
 * This is {@link RiskyAuthenticationException}.
 *
 * @author Misagh Moayyed
 * @since 7.0.0
 */
@Getter
@NoArgsConstructor
public class RiskyAuthenticationException extends AuthenticationException {
    @Serial
    private static final long serialVersionUID = 4819155188558680032L;

    private static final String CODE = "RISKY_AUTHN_DETECTED";

    public RiskyAuthenticationException(final Throwable handlerError) {
        super(handlerError);
    }

    @Override
    public String getCode() {
        return CODE;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy