I'm new to xacml and wso2. I tried this post. But I got the following error after deploying MediCom.war in Tomcat 7.0.10 and login to the medi_home.jsp
via /localhost/MediCom/WebContent/index.jsp
.
An error occurred at line: 6 in the generated java file
Only a type can be imported. org.xacmlinfo.xacml.pep.agent.PEPAgent resolves to a package
An error occurred at line: 7 in the generated java file
Only a type can be imported. com.medi.sample.webapp.client.PEPClient resolves to a package
An error occurred at line: 13 in the jsp file: /WebContent/medi_home.jsp
PEPClient cannot be resolved to a type
10:
11: String[] staticActionsInPage = new String[] {"create", "read", "update", "delete"};
12:
13: PEPClient client = new PEPClient();
14: List<String> allowedActions = client.getAllowedResources(userName, staticActionsInPage);
Thanks in advance!