X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=docs%2Fplatform%2Fcookbook.rst;h=e79b4a9c847b4ea59038c97fcd7b23262eac41fb;hp=c4a2c7cf3cdadb813ff810fd75fd89d58d72e060;hb=52ee4af3ad37e2e89815ce8c3cc1e9fc1e6db603;hpb=c0358db3ac257a91364691654fe82f1b1a4f8bab diff --git a/docs/platform/cookbook.rst b/docs/platform/cookbook.rst index c4a2c7cf3..e79b4a9c8 100644 --- a/docs/platform/cookbook.rst +++ b/docs/platform/cookbook.rst @@ -193,9 +193,7 @@ PAP Recipes (inside the "pap" container) :caption: Bypass Portal Authentication with the Policy Web UI :linenos: - edit: /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties - comment out: #role_access_centralized = remote - restart pap: policy.sh stop; policy.sh start; + sed -i "s/^role_access_centralized.*$/#role_access_centralized=remote/g" /opt/app/policy/servers/console/webapps/onap/WEB-INF/classes/portal.properties; policy.sh stop; policy.sh start; .. code-block:: bash