com.payneteasy.superfly.security.exception.InsufficientAuthenticationException 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
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);
}
}