:-) You have to model actors to use-cases, switch security on and then generate code.. then you should see those files
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:andromda-user- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, January 19, 2005 8:18 AM > To: Andromda-user@lists.sourceforge.net > Subject: RE: [Andromda-user] security, roles problems > > Quoting Wouter Zoons <[EMAIL PROTECTED]>: > > > > I've created a user in users.properties and defined a role for this > user > > > in > > > roles.properties which is the same than on my Use-Case diagram. > > > - Well, when I start the app, and input a valid login, I have a > "Access > > > to the > > > requested resource has been denied" 403 Error. > > > > > [WZ> ] your security credentials are not properly configured ? It should > > work though. Are you using Jboss ? > > You're right, I'm using Jboss 3.2.6. > I've tried as well by creating a new entrey in conf/login-config.xml. > I've created a new application-policy for my project like the JBossMQ one > (I've > changed the Database table names). I've created (and populated) the tables > on > hsql, removed .properties files to avoid confusion. > The problem is the same : when I successfuly logon, even if my user has > the good > role, I have a 403 error. > I don't know what I'm missing. > > > > > > > Any idea? > > > > > > Another question : I've read on the bpm4struts documentation that it > is > > > possible > > > to generate the files users.properties and roles.properties. HowTo? > > > > > [WZ> ] have you looked in the set of generated files ? if you have used > > andromdapp:generate to create your project structure you'll see that the > > files should be somewhere under /web/target/src > > I've not tried with the lastest CVS snapshot, but in 3M3 files are not > generated. I just tried to create a fresh app structure : I can't see any > .properties files generated here ;-) > > > > > -- Wouter > > > > > > > > ------------------------------------------------------- > > The SF.Net email is sponsored by: Beat the post-holiday blues > > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > > _______________________________________________ > > Andromda-user mailing list > > Andromda-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/andromda-user > > > > > > > ------------------------------------------------------- > The SF.Net email is sponsored by: Beat the post-holiday blues > Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. > It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt > _______________________________________________ > Andromda-user mailing list > Andromda-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/andromda-user ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user