This can simple be done by authorizing user in each action class. We
have request & session attributes which may be helpful for checking the
current state of user.

Before doing any processing, first of all, process user authentication
and if finds any restriction then forward the action to appropriate
error page.

Regards,
MMS

                ----------
                From:  Stefan Trcko [SMTP:[EMAIL PROTECTED]
                Sent:  Thursday, October 09, 2003 12:29 PM
                To:  Struts Users Mailing List
                Subject:  Struts security

                Hello

                I want to implement security in my struts web portal, so
                that I can restrict users which actions they can
perform.

                Has anybody already worked on this kind of security in
Struts?

                Thanks in advice
                Stefan





---------------------------------------------------------------------
                To unsubscribe, e-mail:
[EMAIL PROTECTED]
                For additional commands, e-mail:
[EMAIL PROTECTED]

Reply via email to