[
http://jira.jboss.com/jira/browse/RHDS-337?page=comments#action_12390461 ]
Anatoly Fedosik commented on RHDS-337:
--------------------------------------
I'm confused with section 3.6. in Getting Started Guide. Michael Yuan wrote:
"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)"
As I understand from Seam Guide:
We need to add in component.xml <security:identity
authenticate-method="#{authenticator.authenticate}"/> and then to wtrite an
authentication method. pages.xml is configured only to redirect security errors.
Simplified Configuration - Summary
So to sum up, there are the three easy steps to configure authentication:
* Configure an authentication method in components.xml.
* Write an authentication method.
* Write a login form so that the user can authenticate.
Is it enough for 3.6 section in GSG? What part of code should I show?
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