forked from cs3org/reva
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
simplify authentication and refactor or grpc and http services
- Loading branch information
Showing
67 changed files
with
1,048 additions
and
1,037 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,6 @@ | |
- Hugo Gonzalez Labrador <[email protected]> | ||
- Ilja Neumann <[email protected]> | ||
- Jörn Friedrich Dreyer <[email protected]> | ||
- Michael D'Silva <[email protected]> | ||
- Mohitty <[email protected]> | ||
- zazola <[email protected]> |
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
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 |
---|---|---|
@@ -1,28 +1,17 @@ | ||
# This storage.toml config file will start a reva service that: | ||
# - authenticates grpc storage provider requests using the internal jwt token | ||
# - authenticates http upload and download requests requests using basic auth | ||
# - serves the storage provider on grpc port 11000 | ||
# - serves http dataprovider for this storage on port 11001 | ||
# - /data - dataprovider: file up and download | ||
[core] | ||
max_cpus = "2" | ||
|
||
[log] | ||
level = "debug" | ||
|
||
# GRPC: | ||
# - serves user and public link shares | ||
[grpc] | ||
address = "0.0.0.0:17000" | ||
enabled_services = ["usershareprovider", "publicshareprovider"] # TODO ocmshareprovider | ||
enabled_interceptors = ["auth"] | ||
|
||
[grpc.interceptors.auth] | ||
token_manager = "jwt" | ||
|
||
[grpc.services.usershareprovider] | ||
driver = "memory" | ||
|
||
[grpc.services.publicshareprovider] | ||
driver = "memory" | ||
|
||
[grpc.interceptors.auth] | ||
token_manager = "jwt" | ||
|
||
[grpc.interceptors.auth.token_managers.jwt] | ||
secret = "Pive-Fumkiu4" |
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
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.