[jboss-jira] [JBoss JIRA] Commented: (JBPM-429) Support for external security systems

Roland Räz (JIRA) jira-events at lists.jboss.org
Tue Sep 25 02:28:41 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBPM-429?page=comments#action_12378496 ] 
            
Roland Räz commented on JBPM-429:
---------------------------------

By the way, does the class org.jbpm.taskmgmt.assignment.ActorAssignmentHandler exist?

> Support for external security systems
> -------------------------------------
>
>                 Key: JBPM-429
>                 URL: http://jira.jboss.com/jira/browse/JBPM-429
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM 3.0
>         Environment: NA
>            Reporter: Ashwini Kumar
>         Assigned To: Tom Baeyens
>            Priority: Critical
>             Fix For: jBPM jPDL 3.2.2
>
>   Original Estimate: 2 minutes
>  Remaining Estimate: 2 minutes
>
> Please change the readAssignmentDelegation method in org.jbpm.jpdl.xml.JpdlXmlReader    to be the following.
> The original method would ignore the class attribute assigned to swimlane assignments and default it to org.jbpm.identity.assignment.ExpressionAssignmentHandler
> Thanks,
> private Delegation readAssignmentDelegation(Element assignmentElement) {
>     Delegation assignmentDelegation = new Delegation();
>     String expression = assignmentElement.attributeValue("expression");
>     if (expression!=null) {
>       assignmentDelegation.setProcessDefinition(processDefinition);
>       String assignmentHandler = assignmentElement.attributeValue("class");
>       if (assignmentHandler != null){
> 		assignmentDelegation.setClassName(assignmentHandler);
>       }
>       else{
> 		assignmentDelegation.setClassName("org.jbpm.identity.assignment.ExpressionAssignmentHandler");	
>       }
>       assignmentDelegation.setConfiguration("<expression>"+expression+"</expression>");
>       
>     } else {
>       assignmentDelegation.read(assignmentElement, this);
>     }
>     return assignmentDelegation;
>   }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list