@Provider public class AuthenticationExceptionMapper extends AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>
AuthenticationException by producing a 403 Forbidden response.| Constructor and Description |
|---|
AuthenticationExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected javax.ws.rs.core.Response.Status |
getStatus(org.springframework.security.core.AuthenticationException exception)
Translate the exception to an HTTP
Response.Status. |
protected boolean |
logException()
Indicate if the exception should be logged.
|
getWellComposedErrorBody, toResponseprotected javax.ws.rs.core.Response.Status getStatus(org.springframework.security.core.AuthenticationException exception)
AbstractExceptionMapperResponse.Status.getStatus in class AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>protected boolean logException()
AbstractExceptionMapperlogException in class AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>Copyright © 2005–2023 Pavlidis lab, Michael Smith Laboratories and Department of Psychiatry, University of British Columbia. All rights reserved.