[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Shane Bryzak sbryzak at redhat.com
Sun Sep 2 19:33:17 EDT 2007


  User: sbryzak2
  Date: 07/09/02 19:33:17

  Modified:    doc/reference/en/modules  security.xml
  Log:
  JBSEAM-1888
  
  Revision  Changes    Path
  1.72      +3 -3      jboss-seam/doc/reference/en/modules/security.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: security.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/security.xml,v
  retrieving revision 1.71
  retrieving revision 1.72
  diff -u -b -r1.71 -r1.72
  --- security.xml	8 Aug 2007 10:59:27 -0000	1.71
  +++ security.xml	2 Sep 2007 23:33:17 -0000	1.72
  @@ -894,9 +894,9 @@
          <para>
            This rule will grant the permission <literal>memberBlog:insert</literal> if the currently authenticated
            user (indicated by the <literal>Principal</literal> fact) has the same name as the member for which the
  -         blog entry is being created.  The "<literal>name : name</literal>" structure that can be seen in the
  +         blog entry is being created.  The "<literal>principalName : name</literal>" structure that can be seen in the
            <literal>Principal</literal> fact (and other places) is a variable binding - it binds the <literal>name</literal>
  -         property of the <literal>Principal</literal> to a variable called <literal>name</literal>.  Variable bindings
  +         property of the <literal>Principal</literal> to a variable called <literal>principalName</literal>.  Variable bindings
            allow the value to be referred to in other places, such as the following line which compares the member's username
            to the <literal>Principal</literal> name.  For more details, please refer to the JBoss Rules documentation. 
          </para>
  @@ -1079,7 +1079,7 @@
           a user being authenticated.  These include any <literal>java.security.Principal</literal> objects that
           are created as part of the authentication process, plus a <literal>org.jboss.seam.security.Role</literal>
           object for each of the roles that the user is a member of.  It is also possible to assert additional 
  -        long-lived facts into the working memory by calling <literal>RuleBasedIdentity.instance().getSecurityContext().assertObject()</literal>,
  +        long-lived facts into the working memory by calling <literal>((RuleBasedIdentity) RuleBasedIdentity.instance()).getSecurityContext().insert()</literal>,
           passing the object as a parameter.
         </para>
         
  
  
  



More information about the jboss-cvs-commits mailing list