fix #2711 improve log message
This commit is contained in:
parent
5948063883
commit
3c40f8df93
1 changed files with 2 additions and 2 deletions
|
@ -118,11 +118,11 @@ public class SpnegoAuthenticator implements SsoAuthenticator {
|
|||
logger.debug("principal: {}", principal);
|
||||
}
|
||||
} catch (final Exception e) {
|
||||
final String msg = "HTTP Authorization Header=" + request.getHeader(Constants.AUTHZ_HEADER);
|
||||
final String msg = "Failed to process Authorization Header: " + request.getHeader(Constants.AUTHZ_HEADER);
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug(msg);
|
||||
}
|
||||
throw new SsoLoginException(msg, e);
|
||||
throw new SsoLoginException(e.getMessage() + " " + msg, e);
|
||||
}
|
||||
|
||||
// context/auth loop not yet complete
|
||||
|
|
Loading…
Add table
Reference in a new issue