public class AuthorizationException
extends java.lang.RuntimeException
Constructor and Description |
---|
AuthorizationException(Authentication authentication) |
Modifier and Type | Method and Description |
---|---|
Authentication |
getAuthentication() |
boolean |
isForbidden() |
public AuthorizationException(@Nullable Authentication authentication)
authentication
- The authentication that was denied, null if unauthorizedpublic boolean isForbidden()
@Nullable public Authentication getAuthentication()