SWF-944 Show the usage of <secured> element in some context

Added an  example showing how to secure a state
This commit is contained in:
Scott Andrews
2008-11-10 15:55:22 +00:00
parent 02f5094616
commit 92a6c670d0

View File

@@ -34,7 +34,15 @@
<para>
Three phases of flow execution can be secured: flows, states and transitions.
In each case the syntax for the secured element is identical.
</para>
The secured element is located inside the element it is securing.
For example, to secure a state the secured element occurs directly inside that state:
</para>
<programlisting language="xml"><![CDATA[
<view-state id="secured-view">
<secured attributes="ROLE_USER" />
...
</view-state>]]>
</programlisting>
<sect2 id="flow-security-secured-element-attributes">
<title>Security attributes</title>
<para>