public class DefaultSecurityExceptionChecker extends Object implements SecurityExceptionChecker
Constructor and Description |
---|
DefaultSecurityExceptionChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isAccessDenied(Throwable throwable)
Whether the given throwable is an access denied exception.
|
boolean |
isAuthenticationFailed(Throwable throwable)
Whether the given throwable is an authentication failed exception.
|
public boolean isAuthenticationFailed(Throwable throwable)
SecurityExceptionChecker
isAuthenticationFailed
in interface SecurityExceptionChecker
throwable
- The throwable to check.public boolean isAccessDenied(Throwable throwable)
SecurityExceptionChecker
isAccessDenied
in interface SecurityExceptionChecker
throwable
- The throwable to check.Copyright © 2016. All rights reserved.