doc: don't show how to add *:* ACL, as this is not a good idea
authorAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 27 May 2014 12:27:15 +0000 (15:27 +0300)
committerAlexander Kanavin <alex.kanavin@gmail.com>
Tue, 27 May 2014 12:27:15 +0000 (15:27 +0300)
docs/reference/examples.xml

index 2252c17b7b5d57251d8edafc88a1b45b56d187d8..868c19af3785d7b9462f383c6271071bd1b8958a 100644 (file)
@@ -96,18 +96,23 @@ Identity removed
         </computeroutput></literallayout>
     </para>
     <para>
-        To add security context to identity's Access Control List, use <userinput>--add-context</userinput> option
-        with identity id:
+        To add security context to identity's Access Control List, use <userinput>--add-context</userinput> option
+        with an identity id:
         <literallayout><computeroutput>
-<userinput>> gsso-example --add-context=28 --system-context=* --application-context=*</userinput>
+<userinput>> gsso-example --add-context=28 --system-context=/path/to/executable --application-context=</userinput>
 Identity stored with id 28
         </computeroutput></literallayout>
     </para>
     <para>
-        To remove security context from identity's Access Control List, use <userinput>--remove-context=</userinput> option
+        /path/to/executable should be used if gsso is configured to use the
+        default ACL extension, otherwise the system context value is defined by the extension
+        that is in use.
+    </para>
+    <para>
+        To remove a security context from identity's Access Control List, use <userinput>--remove-context=</userinput> option
         with identity id:
         <literallayout><computeroutput>
-<userinput>> gsso-example --remove-context=28 --system-context=* --application-context=*</userinput>
+<userinput>> gsso-example --remove-context=28 --system-context=/path/to/executable --application-context=</userinput>
 Identity stored with id 28
         </computeroutput></literallayout>
     </para>