@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, toResponse
public String getErrorMessage(org.springframework.security.core.AuthenticationException exception)
AbstractExceptionMapper
getErrorMessage
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.