X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fplatform%2Fcookbook.rst;fp=docs%2Fplatform%2Fcookbook.rst;h=e79b4a9c847b4ea59038c97fcd7b23262eac41fb;hb=8ac5064cca22becdb5f9a16937f4821793c5f7a0;hp=c4a2c7cf3cdadb813ff810fd75fd89d58d72e060;hpb=b874f123c5db37ed7eb2494d241e0d81559c04a5;p=policy%2Fengine.git 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