juanmanuelsanchez wrote: > Dosent seem to work, my idea is to have a common folder where everybody could > go, and other 3 where just authorized people can see the jsp. Thats why you > see 4 different security-constrain tags. > > Everybody should login no matter what. > > I think one of the problems is that how do I tell the app where to go once > the user has authenticated?.
No, it's not. The user must request a secure page before the authentication component kicks in and shows the login form. During this process the original request is saved and is restored after a successful login. Can you post the HTML of your login form? p > Here is the realm > > <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99" > driverName="org.gjt.mm.mysql.Driver" > connectionURL="jdbc:mysql://localhost/MedPro?user=xxxxx" > connectionPassword="xxxxxx" > userTable="users" userNameCol="user_name" userCredCol="user_pass" > userRoleTable="user_roles" roleNameCol="role_name"/> > > The realm works as far as I know. > > Thanks a lot for your help --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org