public final class SecurityExceptionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAccessDeniedException(Throwable throwable)
Checks if there is an
AccessDeniedException anywhere in the exception chain
of the specified throwable. |
static boolean |
isAuthenticationException(Throwable throwable)
Checks if there is an
AuthenticationException anywhere in the exception chain
of the specified throwable. |
public static boolean isAccessDeniedException(Throwable throwable)
AccessDeniedException anywhere in the exception chain
of the specified throwable.public static boolean isAuthenticationException(Throwable throwable)
AuthenticationException anywhere in the exception chain
of the specified throwable.Copyright © 2017. All rights reserved.