In WSO2 Enterprise Integrator 6.6.0 we could manage lists of roles by users, and with the following custom module we could allow a user to access an API if he had the right role.
https://github.com/SavithriNandadasa/wso2-esb-RoleBasedAuthorizationHandler
<handlers>
<handler class="org.wso2.api.authorization.RoleBasedAuthorizationHandler">
<property name="roles" value="Role/Test"/>
</handler>
</handlers>
In WSO2 Enterprise Integrator 7.1 the role management seems to have disappeared. You can add roles manually to the database. But the custom module does not work anymore because the required library would not be part of EI.7 anymore. ( WSO2 EI 7 - RoleBasedAuthorizationHandler java class )
Does anyone have a solution to allow only certain users to access an API?