From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Bruno Su�rez
Laffargue
Sent: Saturday, December 18, 2004
12:57 PM
To: Andromda User
Subject: [Andromda-user]
roles.properties
Hello,
I'm getting in trouble with generated roles.properties. I'm working with a 3M3
build from 2 days ago.
The problem i have is that bpm4struts generates admin=role1
,role2 ,role3 with a space just before the comma.
When I try to log in with the correct password (admin admin, as generated) I
get the following:
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.
If I modify the roles.properties deleting the space I log
in fine. So I've take a look to the template.
I've modified line 8 of bmp4struts/src/templates/StrutsRolesProperties.vsl
it was: admin=#foreach($user in $users)$separator$user.name
#set($separator=',') #end
I've setted to: admin=#foreach($user in $users)$separator$user.name
#set($separator=',')#end (deleting the space between the right parenthesis and
the #)
and now I get the roles.properties that I expect... and everything goes well ;-)
One little more thing... in /mda/project.xml the tag security doesn't exist.
Andromdapp stills generating securityEnabled...
Best regards
Bruno