[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>&lt;jbpm-configuration xmlns=&quot;http://jbpm.org/xsd/cfg&quot;&gt;
+
+  <emphasis role="bold">&lt;process-engine-context&gt;</emphasis>
+    ...
+    &lt;identity-service /&gt;
+    ...
+  &lt;/process-engine-context&gt;
+
+  &lt;transaction-context&gt;
+    ...
+    <emphasis role="bold">&lt;identity-session realm=&quot;realm://jbpm-identity&quot; /&gt;</emphasis>
+  &lt;/transaction-context&gt;
+
+&lt;/jbpm-configuration&gt;</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>&lt;jbpm-configuration xmlns=&quot;http://jbpm.org/xsd/cfg&quot;&gt;
+  ...
+  &lt;transaction-context&gt;
+    ...
+    &lt;object class="your.package.YourIdentitySession" /&gt;
+  &lt;/transaction-context&gt;
+
+&lt;/jbpm-configuration&gt;</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