This content has been marked as final.
Show 4 replies
-
1. Re: Disable security using components.xml
herberson Jul 12, 2010 11:05 PM (in response to aamonten.amontenegro.redhat.com)If you want use a Seam application without security enable remove this tags from components.xml file:
- <drools:rule-base />
- <security:rule-based-permission-resolver/>
- <security:identity />
On pages.xml file remove the attribute
login-view-id
from<pages />
tag.Herberson
-
2. Re: Disable security using components.xml
lhellgren Aug 25, 2011 10:28 PM (in response to aamonten.amontenegro.redhat.com)I tried this on the Seam distribution booking example but got NotLoggedInException when accessing specific pages.
Also removed the login-required page element attribute. Anything else needed to bypass the security feature?
Thanks,
LH -
3. Re: Disable security using components.xml
konami.bankyaw.gmail.com Aug 30, 2011 10:52 PM (in response to aamonten.amontenegro.redhat.com)Check the manager/action code in Java. There might be annotations to restrict access to specific function call.
-
4. Re: Disable security using components.xml
raj.n Nov 5, 2012 9:46 PM (in response to aamonten.amontenegro.redhat.com)Spent quite some time researching this. The answer is hidden in a JIRA https://issues.jboss.org/browse/JBSEAM-3629. The setting to use is <core:init security-enabled="false"/> in components.xml. It works for me.