Hello world!
My problem :
I want some of my servlets to be accessible only when HTTPS is used:
https:/path to servlet succeeds
http:/path to servlet gives an error
The first step seems to work, but when i have logged in into the secure area,
load a page using https, delete the s and
first, thanks for your help.
But now I got the next problem:
Is it possible to have multiple different Login pages in one webapp?
Scenario:
- Two areas (DB,shop) in one webapp
- two groups of users having access to one of the areas.
- one member of both groups.
When I am logged in to the
I want to replace the tomcat-users.xml with two tables in MySQL:
Database : auth
table users :username varchar(15) primary key NN
pass varchar(41) NN
table roles : username varchar(15) primary key NN
role varchar(10) NN
Tried the solution from
It still doesn´t work.
this is what Catalina.out sais:
INFO: Starting Coyote HTTP/1.1 on http-8080
27.04.2007 01:14:44 org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
27.04.2007 01:14:44 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/228