[jboss-svn-commits] JBL Code SVN: r21452 - labs/jbossrules/trunk/drools-guvnor/src/main/webapp/WEB-INF.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue Aug 12 04:12:40 EDT 2008
Author: jervisliu
Date: 2008-08-12 04:12:40 -0400 (Tue, 12 Aug 2008)
New Revision: 21452
Modified:
labs/jbossrules/trunk/drools-guvnor/src/main/webapp/WEB-INF/components.xml
Log:
add documentation for role-based authorization.
Modified: labs/jbossrules/trunk/drools-guvnor/src/main/webapp/WEB-INF/components.xml
===================================================================
--- labs/jbossrules/trunk/drools-guvnor/src/main/webapp/WEB-INF/components.xml 2008-08-12 08:04:34 UTC (rev 21451)
+++ labs/jbossrules/trunk/drools-guvnor/src/main/webapp/WEB-INF/components.xml 2008-08-12 08:12:40 UTC (rev 21452)
@@ -31,6 +31,9 @@
<!-- default (will take any username, useful if you want to keep track of users but not authenticate -->
<security:identity authenticate-method="#{defaultAuthenticator.authenticate}"/>
+
+ <!-- This is used to enable or disable role-based authorization. By default it is disabled. -->
+ <security:role-based-permission-resolver enable-role-based-authorization="false"/>
<!-- NO authentication. This will bypass the login screen when you hit the app. Everyone is "guest" -->
<!-- <security:identity authenticate-method="#{nilAuthenticator.authenticate}"/> -->
More information about the jboss-svn-commits
mailing list