Created
October 18, 2017 16:49
-
-
Save amoeba/b949c174a42effef5b3825bc043ab833 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: cn/d1_cn_rest/src/main/java/org/dataone/cn/rest/v2/DiagnosticController.java | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
--- cn/d1_cn_rest/src/main/java/org/dataone/cn/rest/v2/DiagnosticController.java (revision 18972) | |
+++ cn/d1_cn_rest/src/main/java/org/dataone/cn/rest/v2/DiagnosticController.java (revision ) | |
@@ -144,7 +144,7 @@ | |
// get the Session object from the request | |
Session session = PortalCertificateManager.getInstance().getSession(request); | |
if (session == null) { | |
- throw new InvalidToken("4967", "No credentials were received in the request. (Session was null)"); | |
+ throw new InvalidToken("4967", "The supplied authentication token (Session) could not be verified as being valid."); | |
} | |
// serialize it back |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment