This content has been marked as final.
Show 1 reply
-
1. Re: What's wrong with authentification in jbpm3.1?
vas74 Mar 17, 2006 3:09 AM (in response to jmix2006)Pls do the following
import org.jbpm.security.Authentication;
//called DB for getting username and compaare with a screen username
//this is username from view
String userName=userbean.getUsername();
// validate
if( DBuserName==userName){
setAuthorizedUserName (userName);
Authentication.pushAuthenticatedActorId(authorizedUserName);
return (mapping.findForward("succes");
} else {
return (mapping.findForward("failure");
}