NIHVIVO-1399 improve diagnostics

This commit is contained in:
jeb228 2010-11-28 22:32:42 +00:00
parent 051d00ed45
commit bd69387ba9
2 changed files with 2 additions and 1 deletions

View file

@ -60,7 +60,7 @@ public class LoginExternalAuthReturn extends BaseLoginServlet {
removeLoginProcessArtifacts(req);
loginRedirector.redirectLoggedInUser(req, resp);
} else if (uri != null) {
log.debug("Recognize '' as self-editor for " + uri);
log.debug("Recognize '" + username + "' as self-editor for " + uri);
getAuthenticator(req).recordLoginWithoutUserAccount(username, uri,
AuthenticationSource.EXTERNAL);
removeLoginProcessArtifacts(req);

View file

@ -56,6 +56,7 @@ public class LoginExternalAuthSetup extends BaseLoginServlet {
MESSAGE_LOGIN_FAILED);
}
log.debug("redirecting to '" + redirectUrl + "'");
resp.sendRedirect(redirectUrl);
}