product-microgateway
product-microgateway copied to clipboard
Keep JWTValidator per Key Manager
Describe your problem(s)
Currently, we are keeping JWTValidator per API (per auth filter) https://github.com/wso2/product-microgateway/blob/e696247296e1bc7a92ba50b042081631a4700500/enforcer-parent/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/security/jwt/JWTAuthenticator.java#L77
It should be per Key manager https://github.com/wso2/product-microgateway/blob/51303937f8b421660770bc244d87f82ab1951668/enforcer-parent/enforcer/src/main/java/org/wso2/choreo/connect/enforcer/keymgt/KeyManagerHolder.java#L76
Describe your solution
How will you implement it
Optional Fields
Related Issues:
Related to https://github.com/wso2/product-microgateway/issues/2817