Thanks for your help !
I understand what is wrong : on error page I must recall the entry page of my web site.
Vincent
Here is your problem.
You can't do this. You are navigating directly to login.jsp.
a href='%= response.encodeURL(login.jsp) %'again/a.
Rick
v.siguier wrote:
I
Hello,
I work with Tomcat 4.1.24 and I have a problem with authentication (I use
DataSourceRealm) at runtime.
On login page, if I enter login - password existing in database with the rigth role to
access to the specified ressource it is OK
(the targeted page is displayed).
The problem happens
If I understand the question, then:
It sounds like you are trying to navigate directly to login.jsp which your not
suppose to do.
Reason:
j_security_check intercepts your request and checks to see if your are currently
authorized to go to that URI. If you are then it forwards you to that
I am agree with you but I don't try to access directly to login.jsp, I call the site
presentation page index.jsp.
Following are my to authentication jsp pages :
Login.jsp :
-
html
head
titleLogin Page for Examples/title
body bgcolor=white
form method=POST action='%=
Here is your problem.
You can't do this. You are navigating directly to login.jsp.
a href='%= response.encodeURL(login.jsp) %'again/a.
Rick
v.siguier wrote:
I am agree with you but I don't try to access directly to login.jsp, I call the site
presentation page index.jsp.
Following are my to