-
Notifications
You must be signed in to change notification settings - Fork 49
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
Authentication and Authorization #61
Comments
Do you see any error / exception or not observing the AuthenticationHandler being triggered? Would you mind give some more details? |
I dont see AuthenticationHandler being triggered. No error as such. |
From the client perspective, does it get any response or does it hang? Does it act like the auth handler is skipped? |
yes, it seems auth handler is skipped. |
Can you change the type provided to the |
Yup it works now. Thanks! Additionally, is there any planned effort for adding authentication annotations? |
Supporting the jax-rs authentication annotation is a good suggestion but we currently don't have any plan on that yet. For now, you have to perform authentication in your auth handler based on the request. If you are interested in helping to add the auth annotation support, that would be great! |
Will try to put in a PR soon. Closing this for now. Thanks a lot for the help!! |
Hello,
We are using this library for last few months and are very happy with it. We would like to know if it is possible to handle auth/authorization using jax-rs annotations?
Additionally, i have looked at adding an authentication handler but couldn't quite get it working. Would be great if someone could give pointers to get it working.
Below is how i add this handler in channelpipeline
The text was updated successfully, but these errors were encountered: