Add filter to control xacml-pdp rest api

Added a filter class for the REST server that only allows "API" services
(i.e., decision API services) through when the API is enabled,
disallowing them otherwise.  The filter always allows PDP-wide services
(e.g., "healthcheck").
Per review comments:
- modified the new class to "implement Filter" rather than "extends
  AafFilter"

Issue-ID: POLICY-3531
Change-Id: I7055e21045eea270e454a47a443b29476d9a85ee
Signed-off-by: Jim Hahn <jrh3@att.com>
10 files changed
tree: 935cb86299826ed50eef7d9fa3cfa27ba1e4bfd2
  1. applications/
  2. main/
  3. packages/
  4. postman/
  5. releases/
  6. testsuites/
  7. tutorials/
  8. xacml-test/
  9. .gitignore
  10. .gitreview
  11. checkstyle-suppressions.xml
  12. INFO.yaml
  13. LICENSE.txt
  14. lombok.config
  15. pom.xml
  16. README.md
  17. version.properties
README.md

Copyright 2018 AT&T Intellectual Property. All rights reserved. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

This source repository contains the ONAP Policy XACML PDP engine code.

To build it using Maven 3, run: mvn clean install