-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Revert "Change Tomcat Valve to servlet Filter (#11)" This reverts commit 9482e95. * Version bump so it gets the right number this time :man_facepalming:
- Loading branch information
Showing
24 changed files
with
1,515 additions
and
1,806 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
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,36 @@ | ||
<config version='1'> | ||
<!-- | ||
Sites can be specified with a Key inline, or with a reference to a key | ||
stored in a file. Both are shown in examples below. | ||
The encoding parameter depends on what algorithm is chosen. | ||
HS256, HS384, HS512 support: plain and base64. | ||
RS256, RS384, RS512 support: PEM. | ||
--> | ||
|
||
<!-- A site with an inline key --> | ||
<site url='http://test.com' algorithm='HS256' encoding='plain'> | ||
my secret key | ||
</site> | ||
|
||
<!-- A site with a key stored in a file --> | ||
<site url='http://test2.com' algorithm='HS256' encoding='base64' path='/somewhere/on/filesystem.key'/> | ||
|
||
<!-- A site that allows all GET requests --> | ||
<site url='http://test3.com' algorithm='HS256' encoding='plain' anonymous='true'/> | ||
|
||
<!-- | ||
This is how you specify a default site, which will be chosen if no | ||
other site matches the JWT url claim | ||
--> | ||
<site algorithm='RS256' encoding='PEM' path='/somewhere/on/filesystem.key' default='true'/> | ||
|
||
<!-- | ||
This lets you specify a master token for testing. This should be used with care, as it gives anyone | ||
with this token unlimited access to your repository. | ||
--> | ||
<token user='test' roles='role1,role2,role3'> | ||
my super secret token | ||
</token> | ||
|
||
</config> |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.