[jboss-user] [JBoss jBPM] - Re: custom-authentication, how to do it

JimKnopf do-not-reply at jboss.com
Mon Mar 12 10:39:48 EDT 2007


And, what is it i must write in "HERE IS WHAT YOU HAVE TO CHANGE":


  | public class MyEAHandler extends ExpressionAssignmentHandler{
  | 
  |     protected ExpressionSession getExpressionSession() {
  |         JbpmContext jbpmContext = JbpmContext.getCurrentJbpmContext();
  |         if (jbpmContext==null) {
  |           throw new RuntimeException("no active JbpmContext for resolving assignment expression'"+expression+"'");
  |         }
  |         //HERE IS WHAT YOU HAVE TO CHANGE
  |         return new IdentitySession(jbpmContext.getSession());
  |     }
  | 
  | }
  | 

... i think i missed something -.-

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027181#4027181

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027181



More information about the jboss-user mailing list