Index Changes

Difference between version and version     

Back to WLM Web Console, or WLM Web Console Info


At line 5 changed 1 line.
WLMSE provides a static common service in TaskCommon.wsdl, for operations as GetTaskList, ClaimTask, GetTaskInput, GetTaskOutput, SetTaskOutput, GetTaskXForm, ReassignTask, RevokeTask, etc. The TaskCommon.wsdl is present in the build folder of every wlm project, note although soap binding is on TaskCommon.wsdl, javaeese is used as the proxy between Java EE client (such as a web console) and WLMSE to pass the security context of the client to WLMSE. Our generic web console provided is discussed below, the goal is user can either build their own web console for wlm from scratch (see [Make your own Worklist Manager client application|http://wiki.open-esb.java.net/attach/WLMSE/WLMSE_Sampe_UserGUide.pdf]), or customize the generic web console
WLMSE provides a static common service in TaskCommon.wsdl, for operations as GetTaskList, ClaimTask, GetTaskInput, GetTaskOutput, SetTaskOutput, GetTaskXForm, ReassignTask, RevokeTask, etc. The TaskCommon.wsdl is present in the build folder of every wlm project, note although soap binding is on TaskCommon.wsdl, javaeese is used as the proxy between Java EE client (such as a web console) and WLMSE to pass the security context of the client to WLMSE. Our generic web console provided is discussed below, the goal is user can either build their own web console for wlm from scratch (see [Make your own Worklist Manager client application|http://wiki.open-esb.java.net/Wiki.jsp?page=WLMSE_Sample_UserGuide#section-WLMSE_Sample_UserGuide-MakeYourOwnWorklistManagerClientApplication]), or customize the generic web console
At line 84 changed 3 lines.
We want to add both a Manager Luke and a Team Support to access the web console. Luke and Support are physical user and group. \\
Using FileRealm, we will do the following steps: \\
1. Add Luke and members of Support in the file realm used in the web console: Configuration --> Security --> file --> Manage Users \\
We want to add both a user Luke and his team Support to access the web console. \\
Using ''__FileRealm__'', we will do the following steps: \\
1. Add Luke as a user and specify he is a member of group: Support in the file realm used in the web console: Configuration --> Security --> file --> Manage Users \\
At line 90 changed 3 lines.
__a. Add permission for any group of which john is a member (e.g. Support). __\\
# Open WorklistWebApplication/web/WEB-INF/web.xml, add a Security Role : Support, see Figure: Add Security Role\\
# Open WorklistWebApplication/web/WEB-INF/sun-web.xml, go to Security tab and expand the Security Role Mapping for role:Support, add group:Support (configured on admin console in step 1), \\
__a. Add permission for any group of which luke is a member (e.g. Support). __\\
# Open WorklistWebApplication/web/WEB-INF/web.xml, add a Security Role : Support (or any name you like), see Figure: Add Security Role\\
# Open WorklistWebApplication/web/WEB-INF/sun-web.xml, go to Security tab and expand the Security Role Mapping for role:Support, add group:Support (the group is configured on admin console in step 1), \\
At line 99 changed 3 lines.
__b. Add permission for john as a principal.__ \\
# Open WorklistWebApplication/web/WEB-INF/web.xml, add a Security Role : Support, see Figure: Add Security Role\\
# Open WorklistWebApplication/web/WEB-INF/sun-web.xml, go to Security tab and expand the Security Role Mapping for role:Support, add group:Support (configured on admin console in step 1), \\
__b. Add permission for luke as a principal.__ \\
# Open WorklistWebApplication/web/WEB-INF/web.xml, add a Security Role : Support (or any name you like), see Figure: Add Security Role\\
# Open WorklistWebApplication/web/WEB-INF/sun-web.xml, go to Security tab and expand the Security Role Mapping for role:Support, add principal:luke (configured on admin console in step 1), \\
At line 106 added 4 lines.
3. Add permission for team Support to access the web console: if you do Step 2a, you will have added team Support already\\
Using ''__LDAPRealm__'', we will do the following steps: \\
1. Refer to [Realm setting on Glassfish|http://wiki.open-esb.java.net/Wiki.jsp?page=WLMLDAP#section-WLMLDAP-LDAPRealmConfigurationOnGlassfish] for setting up the realm \\
2. WorklistWebApplication change is similar to FileRealm with regards to adding role and role-group, role-principal mappings, please see [Configure WebApp for Ldap | http://wiki.open-esb.java.net/Wiki.jsp?page=WLMLDAP#section-WLMLDAP-ConfigureWorklistClientApplicationToUseLDAPRealm]
At line 116 changed 1 line.
Step 1. Get the data from input message to TaskInstance table's Title field, this can be done as in PurchaseOrderXpath sample:
Step 1. Get the data from input message task Title field, this can be done as in PurchaseOrderXpath sample:
At line 118 changed 10 lines.
<init>
<variable-init>
<copy>
<from>concat($TaskInput/po:purchaserName, concat(' Purchase Order for ', $TaskInput/po:productId))</from>
<to>$TaskInstance.Title</to>
</copy>
</variable-init>
...
<title>concat($TaskInput.part1/po:purchaserName, concat(' Purchase Order for ', $TaskInput.part1/po:productId))</title>
At line 129 changed 1 line.
Using xpath you can construct a delimited string using any delimiter you choose through xpath on input message ($TaskInput) and assigns it to $TaskInstance.Title, which effectively saves it into TaskInstance table's Title field. \\
Using xpath you can construct a delimited string using any delimiter you choose through xpath on input message ($TaskInput) to the task title which effectively saves it into TaskInstance DB table's Title column. \\
At line 145 added 3 lines.
!!! Lightweight Web Console
----
Lightweight Web Console is a console that shows task input and output as plain xml and with no built-in xform support. It has a much smaller size and flexible to plug-in any view component or external service call to create task presentation. Lightweigh Web Console can be downloaded at [here|http://wiki.open-esb.java.net/attach/WLMSE/WorklistWeb_noXform.zip] \\
At line 149 added 1 line.
In the full-size Web Console, user would see task details as a form provided by the xform engine: \\
At line 151 added 1 line.
[{Image src='http://wiki.open-esb.java.net/attach/WLMSE/wiki_web7.jpg' link='http://wiki.open-esb.java.net/attach/WLMSE/wiki_web7.jpg' align='center' type="thumb" size width='600' caption='Figure: Full-size WLM Console }]
At line 153 added 1 line.
In the lightweight Web Console, user sees task details as plain xml: \\
At line 155 added 1 line.
[{Image src='http://wiki.open-esb.java.net/attach/WLMSE/webconsole_noXform.jpg' link='http://wiki.open-esb.java.net/attach/WLMSE/webconsole_noXform.jpg' align='center' type="thumb" size width='600' caption='Figure: Lightweight WLM Console }]
At line 157 added 1 line.
!! View plugin
At line 159 added 1 line.
User can replace the web/wlm-jsp/taskDetailsIn.jsp and web/wlm-jsp/taskDetailsOut.jsp with custom view component to display task input and task output, user can also integrate information from other sources such as result of web service calls.

JSPWiki v2.4.100
[RSS]
« Home Index Changes Prefs
This page (revision-35) was last changed on 19-Mar-09 09:03 AM, -0700 by MeiWu