[jbosstools-issues] [JBoss JIRA] Commented: (RHDS-337) Update of 3-6 chapters

Michael Yuan (JIRA) jira-events at lists.jboss.org
Thu Dec 6 01:26:51 EST 2007


    [ http://jira.jboss.com/jira/browse/RHDS-337?page=comments#action_12390809 ] 
            
Michael Yuan commented on RHDS-337:
-----------------------------------

Anatoly,

The pages.xml file can be used to configure which web pages require login. Like this:

<pages xmlns="http://jboss.com/products/seam/pages"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://jboss.com/products/seam/pages http://jboss.com/products/seam/pages-2.0.xsd"
       login-view-id="/login.xhtml">

... ...

    <page view-id="/protected.xhtml" login-required="true"/>

</pages>

That is the simplest use case for Seam security.

cheers
Michael

> Update of 3-6 chapters
> ----------------------
>
>                 Key: RHDS-337
>                 URL: http://jira.jboss.com/jira/browse/RHDS-337
>             Project: Red Hat Developer Studio
>          Issue Type: Task
>          Components: Doc - RHDS GSG
>    Affects Versions: 1.0.0.CR1
>            Reporter: Svetlana mukhina
>         Assigned To: Anatoly Fedosik
>             Fix For: 1.0.1
>
>
> update the chapters according to these comments:
> Section 3.6 uses the LoggedInInterceptor to manage authorization. This is not the way to do it. You should use declarative security in pages.xml. (read the "simplified mode" part in http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/security.html) 
> Chapters #4 and #5: Please emphasize that we *highly recommend* developing in Seam. the chapters here are just for users who for some reason cannot use Seam 
> Add another chapter on "further reading" to point the user to other guides in the doc suite, and what they are for 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list