Better a late replay than none at all :) > Is JAAS the best way to go, or there are better alternates?
'JAAS' encompasses a lot of stuff, so it depends what you are trying to do... Let me assume for the minute that you are talking about login/authentication... In this case, it depends whether you need your user to be authenticated to your J2EE container or not. (If for example you want to control authorisation to any EJBs that you call via their deployment descriptor, then you will need to be authenticated to the container ) JAAS will give you this, but unfortunately will require you to write a server specific LoginModule for every server you need to support. If, however, you don't need this, then something like Acegi (http://www.acegisecurity.org/) will give you a more portable solution cheers Perryn -----Original Message----- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Muhammad Momin Rashid Sent: Wednesday, 12 September 2007 7:32 PM To: user@struts.apache.org Subject: JAAS struts 2 Tutorial? Hello Everyone, I am looking for a tutorial for integrating JAAS into my Struts 2 + Hibernate Application. Can anyone point me to the right resources? Is JAAS the best way to go, or there are better alternates? If anyone thinks there are better alternates, can you provide me with the links to relevant tutorials? Regards, Muhammad Momin Rashid. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] "This e-mail and any attachments to it (the "Communication") is, unless otherwise stated, confidential, may contain copyright material and is for the use only of the intended recipient. If you receive the Communication in error, please notify the sender immediately by return e-mail, delete the Communication and the return e-mail, and do not read, copy, retransmit or otherwise deal with it. Any views expressed in the Communication are those of the individual sender only, unless expressly stated to be those of Australia and New Zealand Banking Group Limited ABN 11 005 357 522, or any of its related entities including ANZ National Bank Limited (together "ANZ"). ANZ does not accept liability in connection with the integrity of or errors in the Communication, computer virus, data corruption, interference or delay arising from or in respect of the Communication." --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]