我是xacml和 wso2 的新手。我试过这个帖子。但是在 Tomcat 7.0.10 中部署 MediCom.war 并登录到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);
提前致谢!