Jaime Acosta

Greenhorn
+ Follow
since Nov 24, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Jaime Acosta

that's disappointing ;*(

I guess I'll have to start trying to figure out how the authentication works instead...

thank you very much your help
13 years ago
Hello Bear,

thanks for the quick response!

yes, in production, we authenticate against a database (i am unfortunately not too familiar with our authentication process), but to avoid having to know the user's password to look at a user's production data, we circumvent that authentication and just supply the user's username and a dummy password in tomcat-users.xml

I was thinking of the possibility of creating a stripped down version of our production application that basically did this circumvention, but didn't require us to add a user's username everytime we wanted to see their account. That is essentially why i wanted to know if there was a way to use a wildcard in the tomcat-users file.

Is this not possible?
13 years ago
Hello,

I'm curious if it's possible to make some kind of modification to the tomcat-users.xml file that would allow me to provide a generic password for all users of a specific role. For example, instead of creating a new user record for every user with rold="client,user", i'd like to just have one user record for that role.

Essentially, i want to do something to the effect of this:


instead of creating something like this:


Any direction you can provide would be greatly appreciated.

thanks!
13 years ago
Hello,

I have tomcat 5.5 set up for my web application with ssl working properly. I would like to redirect all http traffic to https. From my understanding, i should simply have to set the ssl connector to 443 and add 'redirectPort="443"' to the connectors for 80 and 8080 in the server.xml like this:



I also added the following to the end of my web.xml (just before </web-app>), based on information provided in instructions I found online:


As i mentioned above, the ssl is working properly, and I can browse to https://site.com, as well as http://site.com and http://site.com:8080. Unfortunately, the latter two do not redirect to the https://site.com addresss like I intend it to. Is there something I'm missing?

Thanks!
13 years ago