Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amoeba/b949c174a42effef5b3825bc043ab833 to your computer and use it in GitHub Desktop.
Save amoeba/b949c174a42effef5b3825bc043ab833 to your computer and use it in GitHub Desktop.
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