Skip to content

Commit 04f4344

Browse files
committed
Slight verbiage change
1 parent 7c607a7 commit 04f4344

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Service/src/main/java/org/gusdb/wdk/service/filter/CheckLoginFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ protected boolean isGuestUserAllowed(String path) {
100100
}
101101

102102
// client-facing messages when authorization fails
103-
private static final String MISSING_OR_INVALID_TOKEN = "Valid bearer token required for this endpoint.";
104-
private static final String EXPIRED_TOKEN = "Submitted bearer token has expired.";
103+
private static final String MISSING_OR_INVALID_TOKEN = "Valid API Key required for this endpoint.";
104+
private static final String EXPIRED_TOKEN = "Submitted API Key has expired.";
105105
private static final String REGISTERED_USERS_ONLY = "This endpoint is only available to registered users, and requires an API key.";
106106

107107
/**

0 commit comments

Comments
 (0)