Submit Policy Tutorials
[policy/xacml-pdp.git] / tutorials / tutorial-enforcement / README.md
1 Copyright 2020 AT&T Intellectual Property. All rights reserved.
2 This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
3 Full license text at https://creativecommons.org/licenses/by/4.0/legalcode
4
5 The Policy Enforcement Tutorial can be built:
6
7 mvn clean install
8
9 Be sure to start the Policy Framework application components if you are not testing this in a lab. See
10 src/main/docker/README.txt for details to run local instances of the components.
11
12 You can run the application via code by running the App.main method with command line argument with IP then Port
13 of the XACML PDP, followed by the IP then Port of Dmaap.
14
15 App.main(new String[] {"0.0.0.0", "6969", "0.0.0.0", "3904"});
16
17 or from Eclipse by right-clicking App.java and selecting "Run As" and select "Java Application". Edit the
18 configuration by adding these command line arguments: "0.0.0.0" "6969" "0.0.0.0" "3904"
19
20 Quit the application by typing 'q' into stdin.