To: Struts Users Mailing List
Subject: RE: Control Access
Hi Siva,
My question about navigation of successful/unsuccessful users...If I
directly access any JSP other than login.jsp, then I should be redirected
to login.jsp , a way of forcing user to authorization.
Thanks
mahesh.
Jagadeesan
Where is this securityfilter project?
-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 11:15 PM
To: Struts Users Mailing List
Subject: Re: Control Access
Or as Max Cooper says, check out the securityfilter project :D
I haven't used it myself
Mike Ash ([EMAIL PROTECTED]) wrote:
Where is this securityfilter project?
sourceforge.net
--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Daniel Allen, [EMAIL PROTECTED]
http://www.mojavelinux.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
The package
, March 20, 2003 3:18 PM
To: 'Struts Users Mailing List'
Subject: RE: Control Access
Where is this securityfilter project?
-Original Message-
From: Scott Barr [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 11:15 PM
To: Struts Users Mailing List
Subject: Re: Control Access
So many ways.
One you can use the struts roles and control login that way.
Two you can programmatically do this using a request processor.
Three you can do this programmatically in all you actions/jsps.
And a few other solutions as well.
-Tim
-Original Message-
From: mahesh kagitha
Please search the archives. This has been discussed many times.
You might also try a google search. I also remember reading a
recent article in the Java Developer Journal on several strategies
for this.
robert
-Original Message-
From: mahesh kagitha [mailto:[EMAIL PROTECTED]
Sent:
Hi Mahesh:
This is pretty simple when using struts.
Have the Login Page to Submit to Login Action.
Configure in the Struts-Config.xml the action mapping for LoginAction as
SUCCESS --- Index.html
FAILURE --- Login.jsp
In the Login Action return SUCCESS if the login succeeds or return FAILURE
if
Hi Siva,
My question about navigation of successful/unsuccessful users...If I directly
access any JSP other than login.jsp, then I should be redirected to login.jsp , a way
of forcing user to authorization.
Thanks
mahesh.
Jagadeesan,Sivakumar [EMAIL PROTECTED] wrote:Hi Mahesh:
This is
: Control Access
Hi Siva,
My question about navigation of successful/unsuccessful users...If I
directly access any JSP other than login.jsp, then I should be redirected
to login.jsp , a way of forcing user to authorization.
Thanks
mahesh.
Jagadeesan,Sivakumar [EMAIL PROTECTED] wrote:Hi
Mahesh
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 4:09 PM
Subject: RE: Control Access
Hi Siva,
My question about navigation of successful/unsuccessful users...If I
directly access any JSP other than login.jsp, then I should be redirected
The documentation that comes with Struts and the examples actually show
a great example of doing this. Basically there is a tag that you place
at the top of each JSP page that checks to see if the user has an object
in session (has logged in) and if not, redirects them to the login page.
Hope
[EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Control Access
Date: Wed, 19 Mar 2003 21:29:20 -0800
The documentation that comes with Struts and the examples actually show a
great example of doing this. Basically there is a tag that you place at
the top of each JSP
Or as Max Cooper says, check out the securityfilter project :D
I haven't used it myself, I use container manager authentication and
jdbc realms, but the securityfilter project does look pretty cool.
Scott Barr
www.exergonic.com.au
On Thu, 2003-03-20 at 15:59, Joey Ebright wrote:
The
13 matches
Mail list logo