Interceptor is not triggered when bonded annotation has parameters #23546
Answered
by
famod
rafareyes7
asked this question in
Q&A
-
Hi guys, I have the following annotation bounded with the next interceptor
The annotation is used to extract a custom claim and check a list of names from an incoming JWT
Problem The NamesAllowedInterceptor#intercept is never triggered. When I define my annotation without parameters:
The NamesAllowedInterceptor#intercept is triggered. =s Any help? |
Beta Was this translation helpful? Give feedback.
Answered by
famod
Feb 9, 2022
Replies: 1 comment
-
If you don't want an annotation parameter to have a "binding effect", then you need to annotate it with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rafareyes7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you don't want an annotation parameter to have a "binding effect", then you need to annotate it with
@NonBinding
.