[jboss-user] [JBoss jBPM] - Not able to login as a different user

danya do-not-reply at jboss.com
Tue Sep 30 05:12:49 EDT 2008


hi all,
I was doing the example given in the ebook "business  process management with jboss jbpm" .I added new users to the hsql database but i am not able to login as those newly added users.
I am getting the following error:

HTTP Status 403 - Access to the requested resource has been denied

--------------------------------------------------------------------------------

type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.


--------------------------------------------------------------------------------

JBossWeb/2.0.1.GA


My process definition is <?xml version="1.0" encoding="UTF-8"?>
  | 
  | <process-definition 
  |   xmlns="urn:jbpm.org:jpdl-3.2"
  |   name="simple">
  |     <swimlane name="hr">
  | 		<assignment actor-id="hr" />
  | 	</swimlane>
  | 	<swimlane name="manager">
  | 		<assignment actor-id="manager" />
  | 	</swimlane>
  | 	 <swimlane name="Jobseeker">
  | 		<assignment actor-id="Jobseeker" />
  | 	</swimlane>
  | 
  | 	<swimlane name="user">
  | 		<assignment actor-id="user"></assignment>
  | 	</swimlane>
  | 		
  |    <start-state name="Apply for the Job">
  |       <task name="Applyforjob" swimlane="user">
  | 			<controller>
  | 				<variable access="read,write,required" name="Name" mapped-name="Name"></variable>
  | 				<variable access="read,write,required" name="Marks" mapped-name="Marks"></variable>
  | 			</controller>
  | 		</task>
  | 		<transition to="Resume evaluation" name="sendforEvaluation"></transition>
  | 		<event type="node-enter"></event>
  |    </start-state>
  |    <task-node name="Resume evaluation">
  | 		<task name="Resume Evaluation" swimlane="manager">
  | 			<controller>
  | 				<variable access="read,write,required" name="Name" mapped-name="Name"></variable>
  | 				<variable access="read,write" name="Marks" mapped-name="Marks"></variable>
  | 			</controller>
  | 		</task>
  | 		<transition to="Test Evaluation" name="Approved"></transition>
  | 		<transition to="end" name="Rejected"></transition>
  | 		<transition to="validate resume" name="to evaluate"></transition>
  | 	</task-node>
  | 
  | 	<task-node name="Test Evaluation">
  | 		<task name="valuation" swimlane="manager">
  | 			<controller></controller>
  | 		</task>
  | 		<transition to="end" name="Failed"></transition>
  | 		<transition to="Interview" name="Pass"></transition>
  | 	</task-node>
  | 
  | 	<task-node name="Interview">
  | 		<task name="interview result" swimlane="manager">
  | 			<controller></controller>
  | 		</task>
  | 		<transition to="Selected " name="interview-cleared"></transition>
  | 		<transition to="end" name="InterviewFailed"></transition>
  | 	</task-node>
  | 
  | 	<node name="Selected ">
  | 		<transition to="end" name="to end"></transition>
  | 	</node>
  | 
  | 	<process-state name="validate resume">
  | 		<sub-process name="Validate Mark"/>
  | 		<transition to="end" name="to end"></transition>
  | 	</process-state>
  |    <end-state name="end"></end-state>
  | </process-definition>

I dont know where i have to edit to login as the new user...
Please help me 
Thanks,
danya 

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

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



More information about the jboss-user mailing list