New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with Getting started #7
Comments
I solved this issue by setting JVM argument with
By the way,I use the authzfoce-ce-core-pdp-api-9.1.0.jar. |
Hello, Are you using Maven to build your Java project ? |
Thanks for your attention.
|
I did not mean to rebuild the authzforce-ce-core project with Maven by yourself. I meant that you should use Maven to build your own Java project which depends on authzforce-ce-core-pdp-engine (or other authzforce module). So, in the Maven <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
...
<artifactId>my-own-project</artifactId>
<version>XXX</version>
...
<dependencies>
...
<dependency>
<groupId>org.ow2.authzforce</groupId>
<artifactId>authzforce-ce-core-pdp-engine</artifactId>
<version>8.0.0</version>
</dependency>
...
</dependencies>
...
</project> Sorry if there was a misunderstanding. |
sorry, I am a student who uses the maven for the first time.Thanks for your patience. |
The issue that matters here is: |
It works! Thank your very much. |
If you use Eclipse, it should automatically get the javadoc and sources with the binary when you try to go/click on some class from authzforce JAR. If not, try setting Download Artifact Javadoc in Window > Preferences > Maven menu. If still not working, you may get it manually with maven command line: http://tedwise.com/2010/01/27/maven-micro-tip-get-sources-and-javadocs. As for a use case, you can find one on the README, applied to a web service access authorization: https://github.com/authzforce/core#example-of-usage-and-pep-code-with-a-web-service-authorization-module |
Hello cdanger. I tried to use the pdp refered to org.ow2.authzforce.core.pdp.testutil#PdpTest.java, and I send the request.xml like following,but I modified the
the policy like this:
when I run the code, error occured:
I debuged for this, and I found the |
Anyway, I think the fix is quite simple, in
with
|
Hello cdanger, I want to do some use case on my own. But I don't know how to start. |
Yes, it's the OASIS XACML 3.0 standard, as stated in the README, and as you can guess from the namespaces in those XML files. If you are talking about the files named request.xml and policy.xml used in the unit tests of pdp-testutils module, request.xml files are XACML 3.0 Request elements, and policy.xml files are XACML 3.0 Policy or PolicySet documents, depending on the test case. |
As you conduct,I follow the "Getting Started".Then I created the JavaProject in my eclipse with authzforce-ce-core-pdp-engine-8.0.0.jar.In the Main.java, I writes following codes:
But I comed accros the following error:
Can you help me
Thanks
Zhai
The text was updated successfully, but these errors were encountered: