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

Shane Bryzak sbryzak at redhat.com
Wed Mar 21 21:30:26 EDT 2007


  User: sbryzak2
  Date: 07/03/21 21:30:26

  Modified:    doc/reference/en/modules  tutorial.xml
  Log:
  JBSEAM-1090
  
  Revision  Changes    Path
  1.82      +8 -20     jboss-seam/doc/reference/en/modules/tutorial.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: tutorial.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/tutorial.xml,v
  retrieving revision 1.81
  retrieving revision 1.82
  diff -u -b -r1.81 -r1.82
  --- tutorial.xml	21 Mar 2007 14:41:21 -0000	1.81
  +++ tutorial.xml	22 Mar 2007 01:30:26 -0000	1.82
  @@ -2091,7 +2091,7 @@
         </para>
   
         <para>
  -          Just ten classes (plus six session beans local interfaces and 1 annotation interface) 
  +          Just nine classes (plus six session beans local interfaces) 
             where used to implement this application. 
             Six session bean action listeners contain all the business logic for the listed features.
         </para>
  @@ -2112,13 +2112,6 @@
                 in the application. 
             </listitem>
             <listitem>
  -              <literal>LoginAction</literal> validates the login details and retrieves the logged 
  -              in user.
  -          </listitem>
  -          <listitem>
  -              <literal>LogoutAction</literal> ends the login session.
  -          </listitem>
  -          <listitem>
                 <literal>RegisterAction</literal> registers a new system user.
             </listitem>
         </itemizedlist> 
  @@ -2140,11 +2133,6 @@
             </listitem>
         </itemizedlist>
         
  -      <para>
  -          Finally, the <literal>LoggedIn</literal> annotation and the <literal>LoggedInInterceptor</literal>
  -          are used to protect actions that require a logged in user.
  -      </para>
  -      
       </section>
       
       <section>
  @@ -2239,14 +2227,14 @@
              <programlistingco>
                   <areaspec>
                       <area id="booking-stateful-annotation" coords="1"/>
  -                    <area id="booking-custom-annotation" coords="4"/>
  +                    <area id="booking-restrict-annotation" coords="4"/>
                       <area id="booking-datamodel-annotation" coords="16"/>
                       <area id="booking-destroy-annotation" coords="66"/>
                   </areaspec>    
               <programlisting><![CDATA[@Stateful
   @Name("hotelSearch")
   @Scope(ScopeType.SESSION)
  - at LoggedIn
  + at Restrict("#{identity.loggedIn}")
   public class HotelSearchingAction implements HotelSearching
   {
      
  @@ -2319,11 +2307,11 @@
                           scoped to the conversation context by default.
                       </para>
                   </callout>
  -                <callout arearefs="booking-custom-annotation">
  +                <callout arearefs="booking-restrict-annotation">
                       <para>
  -                        The <literal>@LoggedIn</literal> annotation applies a custom Seam interceptor
  -                        to the component. This works because <literal>@LoggedIn</literal> is marked
  -                        with an <literal>@Interceptor</literal> meta-annotation.
  +                        The <literal>@Restrict</literal> annotation applies a security restriction to the
  +                        component. It restricts access to the component allowing only logged-in users. The
  +                        security chapter explains more about security in Seam.
                       </para>
                   </callout>
                   <callout arearefs="booking-datamodel-annotation">
  @@ -2495,7 +2483,7 @@
                   </areaspec>    
               <programlisting><![CDATA[@Stateful
   @Name("hotelBooking")
  - at LoggedIn
  + at Restrict("#{identity.loggedIn}")
   public class HotelBookingAction implements HotelBooking
   {
      
  
  
  



More information about the jboss-cvs-commits mailing list