[
https://jira.jboss.org/jira/browse/JBPM-2337?page=com.atlassian.jira.plug...
]
fred g updated JBPM-2337:
-------------------------
Summary: CLONE - Support for external security systems fixed in 3.2.2 back
in 3.2.6SP1 (was: CLONE -Support for external security systems)
Affects Version/s: jBPM 3.2.6.SP1
Was a great solution : why is this issue closed with the assignmentDelegation.setClassName
hardcoded and no support to change the classname within process-definition ?
Any other workaround missing in documentation for use my own ExpressionAssignmentHandler
impl ?
Tks
CLONE - Support for external security systems fixed in 3.2.2 back in
3.2.6SP1
-----------------------------------------------------------------------------
Key: JBPM-2337
URL:
https://jira.jboss.org/jira/browse/JBPM-2337
Project: JBoss jBPM
Issue Type: Bug
Components: Runtime Engine
Affects Versions: jBPM 3.2.6.SP1
Environment: NA
Reporter: fred g
Assignee: Tom Baeyens
Priority: Critical
Fix For: jBPM 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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira