Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > jsp authentication redirect tomcat

Reply
Thread Tools

jsp authentication redirect tomcat

 
 
Fred
Guest
Posts: n/a
 
      04-18-2005
Hello World.

Fact: The jsp redirect overides tomcat authentication.

expl: A User is in a page within its access rights, he clicks a button
that gets to a jsp page containing a redirect jsp tag to a location to
wich the user is not aloud access... Regarless of that fact, the user
gets access to the forbiden page.

Appache explains in their docs that because the page is required from
jsp page coding it considers it a programmer decision and not a user
one and therefore allows it.

All well and good but ... In most input pages, I use a request scope
bean
that enables me nicely to use the automatic get and set method within
the bean
to triger some validation. Is it possible to pass the content of a
request bean from one page to an other and keep the normal
authentification fonctionality?
maybe by ...

A) Pass a bean content through a http link (something like a redirect)
or
B) Using a button to go to another location without using a redirect
(and therefore avoiding the overide)

Thanks a lot

Fred
 
Reply With Quote
 
 
 
 
Fred
Guest
Posts: n/a
 
      04-19-2005
by the way it is the same problem using redirect within the jsp

String redirectURL = "../jkAppForAll/CustomersDashboardControl.jsp?";
response.sendRedirect(redirectURL);

Fred
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat not updating index.jsp to my jsp file! tiewknvc9 Java 4 05-12-2007 12:03 AM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM
Tomcat 4.1 container authentication on jsp:forward Pavel Java 0 08-12-2004 02:49 PM
Tomcat as NT service and IIS JSP redirect Philip McKee Java 1 05-21-2004 03:20 PM
Basic Q - Response.Redirect, all redirect to first Response.Redirect statement Sal ASP .Net Web Controls 1 05-15-2004 03:46 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57