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

com.payneteasy.superfly.security.exception.InsufficientAuthenticationException Maven / Gradle / Ivy

Go to download

Module for Spring Security which enables application to use Superfly authentication/authorization declaratively through Spring Security

The newest version!
package com.payneteasy.superfly.security.exception;

/**
 * This is a replacement for
 * {@link org.springframework.security.authentication.InsufficientAuthenticationException}
 * which cannot carry Authentication instances in recent
 * Spring Security versions.
 *
 * Note: this exception class carries an
 * {@link org.springframework.security.core.Authentication} instance,
 * but this is safe here.
 *
 * @author rpuch
 * @see com.payneteasy.superfly.security.InsufficientAuthenticationHandlingFilter
 * @see com.payneteasy.superfly.security.InsufficientAuthenticationAccessDecisionManager
 */
public class InsufficientAuthenticationException extends AuthenticationCarryingException {
    public InsufficientAuthenticationException(String message, Throwable cause) {
        super(message, cause);
    }

    public InsufficientAuthenticationException(String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy