@Provider public class AuthenticationExceptionMapper extends AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>
AbstractExceptionMapper for AuthenticationException.| Constructor and Description |
|---|
AuthenticationExceptionMapper() |
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorMessage(org.springframework.security.core.AuthenticationException exception)
Get the message of the exception in mapper.
|
int |
getStatusCode() |
getCurrentUserLocale, getLocalizedMessage, handle, toResponsepublic String getErrorMessage(org.springframework.security.core.AuthenticationException exception)
AbstractExceptionMappergetErrorMessage in class AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>exception - thrownpublic int getStatusCode()
getStatusCode in class AbstractExceptionMapper<org.springframework.security.core.AuthenticationException>Copyright © 2019 Communote team. All rights reserved.