Re: user tomcat authentication

2011-06-13 Thread Petr Hracek
First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. 2011/6/12 Mark Thomas ma...@apache.org: On 12/06/2011 20:29, Pid wrote: On 12/06/2011 17:12, Petr Hracek wrote: And what about in case that I

Re: user tomcat authentication

2011-06-13 Thread Petr Hracek
First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. How to do that I do not know from the tomcat point of view. Is there any possiblity how to check valid HTTP COOKIE otherwise showing loging page.

Re: user tomcat authentication

2011-06-13 Thread Pid
On 13/06/2011 07:50, Petr Hracek wrote: First authentication is done so that if in the browser exists relevant HTTP COOKIE and validation of that cookie is done then page should be shown. How to do that I do not know from the tomcat point of view. Is there any possiblity how to check

Re: user tomcat authentication

2011-06-13 Thread Petr Hracek
Only the simple question, What is the flag which URLs are protected? I have found that link http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html and specially section: How to secure your application with JAAS ? Let's say that my htdocs directory is there:

Re: user tomcat authentication

2011-06-13 Thread Mark Thomas
On 13/06/2011 09:44, Petr Hracek wrote: Only the simple question, What is the flag which URLs are protected? It is time for you to read the Servlet specification. I have found that link http://tomcat-configure.blogspot.com/2009/01/tomcat-web-xml.html and specially section: How to

Re: user tomcat authentication

2011-06-12 Thread Petr Hracek
And what about in case that I have my own program for accessing to the specific databases where the passwords are stored as hashes? Are there any possibilities how to run that program for getting unhashed password from database? best regards Petr Dne 10.6.2011 16:23, Pid napsal(a): On

Re: user tomcat authentication

2011-06-12 Thread Pid
On 12/06/2011 17:12, Petr Hracek wrote: And what about in case that I have my own program for accessing to the specific databases where the passwords are stored as hashes? Are there any possibilities how to run that program for getting unhashed password from database? Why not hash the

Re: user tomcat authentication

2011-06-12 Thread Mark Thomas
On 12/06/2011 20:29, Pid wrote: On 12/06/2011 17:12, Petr Hracek wrote: And what about in case that I have my own program for accessing to the specific databases where the passwords are stored as hashes? Are there any possibilities how to run that program for getting unhashed password from

user tomcat authentication

2011-06-10 Thread Petr Hracek
Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file or users which are stored in another database engine than Realm thank you in advance -- Best Regards / S pozdravem Petr Hracek

Re: user tomcat authentication

2011-06-10 Thread Pid
On 10/06/2011 11:26, Petr Hracek wrote: Dear tomcat users, I would like to ask you how can I authenticate users to access tomcat page? My users are stored in standard /etc/passwd file I'm not sure I'd give Tomcat access to the local user authentication. or users which are stored in