-
Notifications
You must be signed in to change notification settings - Fork 477
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9303 from GPortas/9293-filter-api-auth
9293 - New filter-based design for the API authentication mechanisms (1/2)
- Loading branch information
Showing
29 changed files
with
1,516 additions
and
294 deletions.
There are no files selected for viewing
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
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
15 changes: 15 additions & 0 deletions
15
src/main/java/edu/harvard/iq/dataverse/api/ApiConstants.java
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package edu.harvard.iq.dataverse.api; | ||
|
||
public final class ApiConstants { | ||
|
||
private ApiConstants() { | ||
// Restricting instantiation | ||
} | ||
|
||
// Statuses | ||
public static final String STATUS_OK = "OK"; | ||
public static final String STATUS_ERROR = "ERROR"; | ||
|
||
// Authentication | ||
public static final String CONTAINER_REQUEST_CONTEXT_USER = "user"; | ||
} |
Oops, something went wrong.