[jboss-cvs] jboss-seam/doc/reference/en/modules ...
Shane Bryzak
sbryzak at redhat.com
Mon May 21 21:09:13 EDT 2007
User: sbryzak2
Date: 07/05/21 21:09:13
Modified: doc/reference/en/modules security.xml
Log:
updated security docs to describe how to disable security
Revision Changes Path
1.57 +25 -0 jboss-seam/doc/reference/en/modules/security.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: security.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/security.xml,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -b -r1.56 -r1.57
--- security.xml 22 May 2007 00:30:42 -0000 1.56
+++ security.xml 22 May 2007 01:09:13 -0000 1.57
@@ -85,6 +85,31 @@
</sect1>
<sect1>
+ <title>Disabling Security</title>
+
+ <para>
+ In some situations it may be necessary to disable Seam Security, for example during unit tests. This can be done by
+ calling the static method <literal>Identity.setSecurityEnabled(false)</literal> to disable security checks. Doing this
+ prevents any security checks being performed for the following:
+ </para>
+
+ <itemizedlist>
+ <listitem>
+ <para>Entity Security</para>
+ </listitem>
+ <listitem>
+ <para>Hibernate Security Interceptor</para>
+ </listitem>
+ <listitem>
+ <para>Seam Security Interceptor</para>
+ </listitem>
+ <listitem>
+ <para>Page restrictions</para>
+ </listitem>
+ </itemizedlist>
+ </sect1>
+
+ <sect1>
<title>Authentication</title>
<para>
More information about the jboss-cvs-commits
mailing list