RE: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread zhongliang zhang
C:\apache-tomcat-6.0.14\bintomcat6 //IS//Tomcat6 --DisplayName=Apache Tomcat 6 --Install=c:\apache-tomcat-6.0.14\bin\tomcat6.exe --Jvm=auto --StartMode=jvm --StopMode=jvm --StartClass=org.apache.catalina.startup.Bootstrap --StartParams =start --StopClass=org.apache.catalina.startup.Bootstrap

[CLOSED] [server.xml]Is there a file that defines the server.xml of tomcat?

2007-11-19 Thread zhongliang zhang
thanks a lot. I got it. Date: Mon, 19 Nov 2007 18:45:58 + From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: [server.xml]Is there a file that defines the server.xml of tomcat? zhongliang zhang wrote: As the thread title,is there a file(xsd or dtd)that defines

RE: [Realm]Error page of Digest authentication?

2007-11-14 Thread zhongliang zhang
there ? http://tomcat.apache.org/faq/misc.html#error Lionel zhongliang zhang wrote: Hi, I am using Tomcat JDBCRealm to authenticate the use that stored in the database(Oracle).While when I input the user name and password to log in my application,if I input the wrong username and password

[Realm]Error page of Digest authentication?

2007-11-13 Thread zhongliang zhang
Hi, I am using Tomcat JDBCRealm to authenticate the use that stored in the database(Oracle).While when I input the user name and password to log in my application,if I input the wrong username and password for 3 times,then the page redirect to the tomcat-specific error page. I want to know

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
thanks very much for all your replying. But I can not make it works. I store the password in HexUtils.convert(byte[]) method to store the password in my Oracle database. And I configure the Tomcat JDBCRealm with the digest attribute. And I do a test with MySQL database,for it is small and

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
Hi, It still does not work. Here is the trace: I create the SHA1 password from the command prompt: C:\tomcatjava org.apache.catalina.realm.RealmBase -a SHA1 zhangzhongl:JDBCRealm :secret zhangzhongl:JDBCRealm:secret:0743d07d727aae8864569cbcefb9ae788150e8b9 C:\tomcatjava

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-04 Thread zhongliang zhang
thanks for your replying. Now It works if I specify the alg with MD5,but still does not work with SHA. and I do not know what does the middle field of zhangzhongl:JDBCRealm:secret means,that is,the JDBCRealm,is it a unchangeable part?I do not think so,for the Tomcat docs give an example of

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-01 Thread zhongliang zhang
Thank you very much for all your reply. I think because of the time-zone between us,while I am in China,we do not have the same online time. so I replied late. I will try that way to specify the digest element. thanks a lot. I do not know whether that feature works well with Tomcat 5.5,if so,I

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-11-01 Thread zhongliang zhang
Hi,Mark, I have to turn to you again. I encounter the problem with configuring the Digested-Password in the JDBCRealm. The JDBCRealm fragment of the $TOMCAT_HOME/conf/server.xml is shown as followed: Realm className=org.apache.catalina.realm.JDBCRealm driverName=com.mysql.jdbc.Driver

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-31 Thread zhongliang zhang
, 31 Oct 2007 10:51:42 + From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: [tomcat]How to decrypt the DIGEST authentication? zhongliang zhang wrote: But the application allows creating new group,how do I solve this problem? What problem? You need to say what the problem

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-30 Thread zhongliang zhang
will get the password from the digest (in fact, it was designed this way so this is not feasible.) For your original question, you may want to check this http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html Regards, lg On Oct 30, 2007 1:50 AM, zhongliang zhang [EMAIL PROTECTED] wrote

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-30 Thread zhongliang zhang
Thanks a lot for everyone's reply. I use the JDBCRealm and I store the users information and roles information in the database,such as Oracle. then in my application set the security part in the web.xml,which has an auth-method with DIGEST. So,the username and password that the user input in the

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-30 Thread zhongliang zhang
@tomcat.apache.org Subject: Re: [tomcat]How to decrypt the DIGEST authentication? zhongliang zhang wrote: Thanks a lot for everyone's reply. I use the JDBCRealm and I store the users information and roles information in the database,such as Oracle. then in my application set the security part

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-30 Thread zhongliang zhang
needs configuration,not coding? thanks a lot for your patience! Date: Wed, 31 Oct 2007 01:47:27 + From: [EMAIL PROTECTED] To: users@tomcat.apache.org Subject: Re: [tomcat]How to decrypt the DIGEST authentication? zhongliang zhang wrote: In the database(Oracle),the tables I used

RE: [tomcat]How to decrypt the DIGEST authentication?

2007-10-30 Thread zhongliang zhang
But the application allows creating new group,how do I solve this problem? What problem? You need to say what the problem is if we are going to be able to help. Only the member of group administrators have access to the adminitrative page,and other groups,like groupA,groupB,... the member

[tomcat]How to decrypt the DIGEST authentication?

2007-10-29 Thread zhongliang zhang
Hi,everyone, I got a problem with the DIGEST authentication. I configured my web.xml as followed: security-constraint web-resource-collection web-resource-nameapp/web-resource-name url-pattern/*/url-pattern

RE: Keytool: SSL Certification Issue

2007-10-29 Thread zhongliang zhang
Maybe you should try the following fragment: Connector port=8443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=trueclientAuth=false sslProtocol=TLS keystorePass=changeit keystoreFile= c:/Documents and