I am new to WSO2 Api manager. Recently, I got a requirement for writing CustomJWTTokenGenerator classes for different applications published on a single WSO2 instance.
I followed the below links for reference: API Manager 1.9 Documentation & WSO2 Blog
The intention is to have different JWTTokenGenerators for different applications published on the same WSO2 server.
I would like to know - Is it possible to configure multiple (per application) TokenGeneratorImpl classes in api-manager.xml for the same wso2 instance?
If not, what could be a possible alternative to achieve this goal?
You won't be able to set more than one token generation implementations. Only one can be used. You will have to write the logic inside the custom implementation to generate different token based on different application.