[jbpm-commits] JBoss JBPM SVN: r4001 - in jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en: modules and 1 other directory.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Feb 23 07:44:24 EST 2009
Author: tom.baeyens at jboss.com
Date: 2009-02-23 07:44:24 -0500 (Mon, 23 Feb 2009)
New Revision: 4001
Added:
jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/modules/ch08-Identity.xml
Modified:
jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/master.xml
Log:
added identity docs
Modified: jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/master.xml
===================================================================
--- jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/master.xml 2009-02-23 12:27:17 UTC (rev 4000)
+++ jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/master.xml 2009-02-23 12:44:24 UTC (rev 4001)
@@ -8,6 +8,7 @@
<!ENTITY ch05-Jpdl SYSTEM "modules/ch05-Jpdl.xml">
<!ENTITY ch06-Variables SYSTEM "modules/ch06-Variables.xml">
<!ENTITY ch07-Scripting SYSTEM "modules/ch07-Scripting.xml">
+ <!ENTITY ch08-Identity SYSTEM "modules/ch08-Identity.xml">
]>
<book lang="en">
@@ -25,5 +26,6 @@
&ch05-Jpdl;
&ch06-Variables;
&ch07-Scripting;
+ &ch08-Identity;
</book>
\ No newline at end of file
Added: jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/modules/ch08-Identity.xml
===================================================================
--- jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/modules/ch08-Identity.xml (rev 0)
+++ jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/modules/ch08-Identity.xml 2009-02-23 12:44:24 UTC (rev 4001)
@@ -0,0 +1,38 @@
+<chapter id="identity">
+ <title>Identity</title>
+
+ <para>The default jBPM identity component is based on
+ <ulink url="http://www.jboss.org/community/docs/DOC-13258">JBoss IDM</ulink>.
+ Configuration is like this:
+ </para>
+
+ <programlisting><jbpm-configuration xmlns="http://jbpm.org/xsd/cfg">
+
+ <emphasis role="bold"><process-engine-context></emphasis>
+ ...
+ <identity-service />
+ ...
+ </process-engine-context>
+
+ <transaction-context>
+ ...
+ <emphasis role="bold"><identity-session realm="realm://jbpm-identity" /></emphasis>
+ </transaction-context>
+
+</jbpm-configuration></programlisting>
+
+ <para>To replace the identity component, keep the identity-service declaration,
+ implement org.jbpm.session.IdentitySession and configure your identity session in
+ the transaction context like this:
+ </para>
+
+ <programlisting><jbpm-configuration xmlns="http://jbpm.org/xsd/cfg">
+ ...
+ <transaction-context>
+ ...
+ <object class="your.package.YourIdentitySession" />
+ </transaction-context>
+
+</jbpm-configuration></programlisting>
+
+</chapter>
Property changes on: jbpm4/branches/jbpm-4.0.0.Alpha2/modules/userguide/src/main/docbook/en/modules/ch08-Identity.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF
More information about the jbpm-commits
mailing list