Hello
I am using my own security manager to login to a struts application.
I am looking for a way to fires an action only when a user logs in
have the rights permissions
Any suggestions?
-
To unsubscribe, e-mail: [EMAIL
I wrote a LoadApplication action that executes after my user has
logged in. It checks the database to see what roes they have and it
fills the session with a few variables such as
admin = true;
designer = false; etc.
by default they are all false.
Then I wrote an interceptor that checked
I wrote a LoadApplication action that executes after my user has
logged in. It checks the database to see what roes they have and it
fills the session with a few variables such as...
I am thinkng to do the same with filter is it possible?
I am using DispatchAction alot is it possible to allow
An interceptor is exactly like a filter. I runs before and after an
action executes.
Check out the following:
http://struts.apache.org/2.x/docs/interceptors.html
http://struts.apache.org/2.x/docs/writing-interceptors.html
Also the 'FAQ section at the bottom of the first like has some useful
tnx a lot but i am using struts 1.2.9 and at pressent time its difficalt
to upgrade to struts 2.x
Richard Sayre wrote:
An interceptor is exactly like a filter. I runs before and after an
action executes.
Check out the following:
http://struts.apache.org/2.x/docs/interceptors.html
5 matches
Mail list logo