E
Erik Turesson
Hello!
I have configured my Tomcat with auth-method set to BASIC.
My realm authenticates towards a LDAP-server.
This part works fine for me. The problem is if the user does not pass
the authentication or presses cancel, then I am receiving the standard
Tomcat 401 Not authorized page. I would like to configure loginfailurs
to redirect to some page that I define, actually to a servlet of mine.
How shall I do this? Can I still use the BASIC authtype or do I have
to choose something else?
One more question:
Is it possible to define url-forwarding in Tomcat? I would like for
example the following url http://www.myserver.com/something to be
automaticaly forwarded to http://www.myserver.com/servlet/myservlet.
/Erik
I have configured my Tomcat with auth-method set to BASIC.
My realm authenticates towards a LDAP-server.
This part works fine for me. The problem is if the user does not pass
the authentication or presses cancel, then I am receiving the standard
Tomcat 401 Not authorized page. I would like to configure loginfailurs
to redirect to some page that I define, actually to a servlet of mine.
How shall I do this? Can I still use the BASIC authtype or do I have
to choose something else?
One more question:
Is it possible to define url-forwarding in Tomcat? I would like for
example the following url http://www.myserver.com/something to be
automaticaly forwarded to http://www.myserver.com/servlet/myservlet.
/Erik