I recommend Spring Acegi. You can mix it with Struts or whatever web framework you like.
On 4/6/06, Ted Husted <[EMAIL PROTECTED]> wrote: > On 4/6/06, Jamal <[EMAIL PROTECTED]> wrote: > > Hi, I want to write a login application with roles, any help please. > > thank you your help is appreciated > > The Struts JSP Taglib Logic tags can key on the JAAS security role. > > * http://struts.apache.org/struts-taglib/tagreference-struts-logic.html > > * http://struts.apache.org/struts-action/userGuide/preface.html#jaas > > There is built-in support for security roles in the struts-config. You > can restrict an action to one or more roles. If the actions are > accessed by a client not authenticated for one of those roles, a > UnauthorizedActionException is thrown. In Struts Action 1.3, this > feature is governed by the AbstractAuthorizeAction command. > > * http://tinyurl.com/m255a > > Another popular solution is the SecurityFilter. > > * http://securityfilter.sourceforge.net/ > > HTH, Ted. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Alexandre Poitras Québec, Canada --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

