This repo contains the source code of the entitlement handler that is used as a sample in the following WSO2 library article and documentation
https://docs.wso2.com/display/AM210/Enabling+Role-Based+Access+Control+Using+XACML https://wso2.com/library/tutorials/2016/02/tutorial-how-to-enable-role-based-access-control-for-wso2-api-manager-using-xacml/