-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: remove AuthenticationFilter in favor of SecurityPolicy #2086
Conversation
The code is ready for review while I'm working on the docs. |
b3afb58
to
e68cd5d
Compare
e68cd5d
to
04e18c4
Compare
Codecov Report
@@ Coverage Diff @@
## main #2086 +/- ##
==========================================
- Coverage 64.41% 64.22% -0.20%
==========================================
Files 109 107 -2
Lines 15094 14626 -468
==========================================
- Hits 9723 9393 -330
+ Misses 4768 4666 -102
+ Partials 603 567 -36
|
07d42b0
to
4726428
Compare
kindly reminder: you need rebase once #2081 merged. |
bf3525c
to
86414b7
Compare
@zhaohuabing you will also need to delete and recreate the |
86414b7
to
53c4691
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
How about raising an issue for it ? @arkodg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well done, some docs lint errors need to be resolved.
This PR only adds docs for JWT, CORS docs will be taken care of in a follow-up PR. |
51f572e
to
0b5472d
Compare
Signed-off-by: huabing zhao <zhaohuabing@gmail.com> fix e2e Signed-off-by: huabing zhao <zhaohuabing@gmail.com> fix test and add policies to egctl translate command Signed-off-by: huabing zhao <zhaohuabing@gmail.com> add docs for jwt Signed-off-by: huabing zhao <zhaohuabing@gmail.com> remove crd Signed-off-by: huabing zhao <zhaohuabing@gmail.com> clear docs Signed-off-by: huabing zhao <zhaohuabing@gmail.com> address comments Signed-off-by: huabing zhao <zhaohuabing@gmail.com> update security policy status Signed-off-by: huabing zhao <zhaohuabing@gmail.com> fix e2e test Signed-off-by: huabing zhao <zhaohuabing@gmail.com>
8f37d30
to
9ea96a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks !
This PR removes
AuthenticationFilter
. The existing JWT authentication inAuthenticationFilter
has been replaced bySecurityPolicy
. The other planned authn features (OIDC, Basic Auth, etc.) will be incorporated into `SecurityPolicy as well in the future.Related: #2079
Fix: #2082