-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Milestone
Description
Follow up issue of #70 (hoping the scope of this one is clear and narrowed :))
This annotation has a lot of pitfalls:
- it is not defined in a way which enables it to be portable,
- it requires to hardcode the security config in the application (same as @*Definition are never used anywhere else than in demo in JakartaEE land, we should learn from this error),
- it is not needed to make it work (only case it can be relevant is for a container providing all spec, even the ones the user don't need/want - container philosophy - and in this case the vendor can trivially provide a way to disable it if needed so the toggle is not in jwt-auth spec level).
So overall, there is not a single case which justify this annotation and it does not bring any configuration the implementation would require so there is no blocker to drop it (note that dropping an annotation keeps the application functional without recompilation in terms of API).
Side note: adding a mp-config key to enable/disable this spec can still be done as a consequence of the removal of this annotation IMHO.
Metadata
Metadata
Assignees
Labels
No labels