-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jans-lock): lock should collect MAU and MAC based on log entries… (
#10328) * feat(jans-lock): lock should collect MAU and MAC based on log entries requests Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): add sse/config endpoints protection Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): add configurable error response types support Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): add table for lock stat entries Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): increase clnData size Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): fix errorResponseFactory dependecy Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): enable stats by default Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): update protection api to allow use annotations defined in interfaces Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): define lock SSE scope in installer to pre-create it Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-linux-setup): create jans-lock scopes Signed-off-by: Mustafa Baser <mbaser@mail.com> * feat(jans-lock): add lock scopes Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-lock): use same scopes namespace Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> * feat(jans-bom): remove artifact duplicates Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> --------- Signed-off-by: Yuriy Movchan <Yuriy.Movchan@gmail.com> Signed-off-by: Mustafa Baser <mbaser@mail.com> Co-authored-by: Mustafa Baser <mbaser@mail.com> Co-authored-by: Yuriy M. <95305560+yuremm@users.noreply.github.com>
- Loading branch information
1 parent
58fd359
commit b8a7e1a
Showing
43 changed files
with
1,910 additions
and
112 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
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
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
33 changes: 25 additions & 8 deletions
33
jans-linux-setup/jans_setup/templates/jans-lock/errors.json
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,9 +1,26 @@ | ||
{ | ||
"common": [ | ||
{ | ||
"id": "unknown_error", | ||
"description": "Unknown or not found error", | ||
"uri": null | ||
} | ||
] | ||
} | ||
"common": [ | ||
{ | ||
"id": "invalid_request", | ||
"description": "The request is missing a required parameter, includes an unsupported parameter or parameter value, or is otherwise malformed", | ||
"uri": null | ||
}, | ||
{ | ||
"id": "unknown_error", | ||
"description": "Unknown or not found error", | ||
"uri": null | ||
} | ||
], | ||
"stat":[ | ||
{ | ||
"id":"invalid_request", | ||
"description":"The request is missing a required parameter, includes an unsupported parameter or parameter value, repeats a parameter, includes multiple credentials, utilizes more than one mechanism for authenticating the client, or is otherwise malformed.", | ||
"uri":null | ||
}, | ||
{ | ||
"id":"access_denied", | ||
"description":"The resource owner or authorization server denied the request.", | ||
"uri":null | ||
} | ||
] | ||
} |
10 changes: 10 additions & 0 deletions
10
jans-linux-setup/jans_setup/templates/jans-lock/scopes.json
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,10 @@ | ||
[ | ||
{ | ||
"inum": "4000.01.1", | ||
"jansId": "https://jans.io/oauth/lock/sse.read", | ||
"displayName": "Lock API scope", | ||
"description": "Permission to access SSE endpoint", | ||
"jansDefScope": false, | ||
"jansScopeTyp": "oauth" | ||
} | ||
] |
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.