Adding custom handler to specific API wso2 API-Manager
I need to add a custom handler and APIAuthenticationHandler to a specific API and it needs to be added below the handler class="org.wso2.carbon.apimgt.gateway.handlers.security.APIAuthenticationHandler"/> (Note that APIAuthenticationHandler is called twice here, it's a custom requirement) How can I do this programmatically by editing the velocity_template.xml I'm using API-Manager 2.00 Thank you You can use API custom properties for this. Add a custom property (e.g. auth_mode=Inhouse ) to the API and then based on that, update the handler section in the velocity template like this. <Handlers>