-
-
Notifications
You must be signed in to change notification settings - Fork 8
006-filter-api-to-expose-client-sasl-info #74
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
006-filter-api-to-expose-client-sasl-info #74
Conversation
Signed-off-by: Tom Bentley <[email protected]>
@k-wall @SamBarker please can you take a look at this. I'm very aware that we've already implemented it. It would be good to keep this repo aligned with (or at least not behind) what's actually implemented. |
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 with nit
/** | ||
* Returns the SASL context for the client connection, or empty if the client | ||
* has not successfully authenticated using SASL. | ||
* Filters should use {@link #clientPrincipal()} in preference to this method, unless they require SASL-specific functionality. |
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.
Maybe the clientPrincipal reference should go from this doc, it's not defined here or in 004
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
Signed-off-by: Tom Bentley <[email protected]>
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.
I think the proposal is sensible but wonder if there is an alternative API thats worth exploring.
Co-authored-by: Sam Barker <[email protected]> Signed-off-by: Tom Bentley <[email protected]>
It's been suggested to break #71 into separate proposals to simplify review etc. This PR adds a proposal for allowing Filters to make use of SASL.