public class BadCredentialsForExternalSystemException
extends org.springframework.security.authentication.BadCredentialsException
BadCredentialsException
but should be thrown if the authentication for a user of
an external system failed.Constructor and Description |
---|
BadCredentialsForExternalSystemException(String externalSystemId,
String message) |
BadCredentialsForExternalSystemException(String externalSystemId,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
String |
getExternalSystemId() |
clearExtraInformation, getAuthentication, getExtraInformation, setAuthentication
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BadCredentialsForExternalSystemException(String externalSystemId, String message)
externalSystemId
- the ID of the external system for which the authentication failedmessage
- a detailed messagepublic String getExternalSystemId()
Copyright © 2019 Communote team. All rights reserved.