-
Notifications
You must be signed in to change notification settings - Fork 59
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
Investigate whether it makes sense to integrate with Bean Validation #243
Comments
Can we first discuss the benefits and drawbacks of adding this to the spec and requiring that Bean Validation is added to MicroProfile? If we want that MicroProfile can easily be adopted by new implementations we should make it as easy as possible and thus do not require many specifications. Also, when adding almost the entire Web profile stack of Jakarta EE, it is no longer lightweight and heavier than WebProfile itself. The topics that are on the program plan are things we should look into, they are not decided since there was no discussion at all at that moment. And in one of the meetings, it was even indicated that they are topics for discussion for this year. |
@rdebusscher this issue is for conversation within JWT group. If it deems not useful, it is fine and we can just summarise why not. |
First time I'm hearing about it - where it was proposed, what are the use cases ? |
@Emily-Jiang, for example:
or, when talking about the bean validation:
Now, here you can see it is not an MP-JWT concern - whose responsibility is to make sure the |
To clarify the history behind the creation of this issue; It is indicated in the Program Plan that the Bean Validation could be interesting to add to a couple of specifications. So this issue is created to gather some use cases where the usage of the Bean Validations annotations could be useful for this spec. |
@sberyozkin this was raised on the 2021 MicroProfile Program Plan googledoc Question 1 - bulletin point 11. These input was then put to MicroProfile 2021 Program Plan Technical Goals. As explained earlier, if this is not something we envisage with a valid and immediate use case, we can put this on hold or close this issue. These are all valid outcomes. I just want to start the conversation and then record in the program plan. |
@rdebusscher @Emily-Jiang Thanks for the clarification. |
ah, I see. The current valid claim types are
With what you propopsed, it could be any type. Right? If so, can you raise an issue and target for 2.0? |
@Emily-Jiang Exactly, #100 was the main issue opened by the user awhile back where we started narrowing down on a possible solution. I guess It would indeed make sense to open a more concrete issue - will do soon, thanks |
As part of the program plan 2021, the community would like to see some integration between JWT and Bean Validation. I think Spec and TCKs will need to be updated to ensure the two technologies work together.
The text was updated successfully, but these errors were encountered: