-
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.
Change Tomcat Valve to servlet Filter (#11)
* Value -> Filter * Fix build.gradle and add javadoc to SynFilter. * Update supplied config file and README * Additional test coverage * Fix relative settings path, still fails test. * Code review, fix variable names, use try-with-resource
- Loading branch information
Showing
24 changed files
with
1,805 additions
and
1,514 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
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 | ||
key: my secret key | ||
|
||
# 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/HEAD 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 | ||
value: my super secret token |
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.