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)
SecurityExceptionCheckerisAuthenticationFailed in interface SecurityExceptionCheckerthrowable - The throwable to check.public boolean isAccessDenied(Throwable throwable)
SecurityExceptionCheckerisAccessDenied in interface SecurityExceptionCheckerthrowable - The throwable to check.Copyright © 2016. All rights reserved.