RE: Tomcat 6.0.14 startup on Windows

2007-11-26 Thread zhongliang zhang
C:\apache-tomcat-6.0.14\bin>tomcat6 //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.Bootstr

[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 f

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

2007-11-18 Thread zhongliang zhang
As the thread title,is there a file(xsd or dtd)that defines the syntax of the server.xml of tomcat? if there is one,can anybody send it to me? thanks a lot. _ Explore the seven wonders of the world http://search.msn.com/results.aspx?

RE: [Realm]Error page of Digest authentication?

2007-11-14 Thread zhongliang zhang
gt; I may be wrong but did you checked 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

[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 whet

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

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:\tomcat>java org.apache.catalina.realm.RealmBase -a SHA1 zhangzhongl:JDBCRealm :secret zhangzhongl:JDBCRealm:secret:0743d07d727aae8864569cbcefb9ae788150e8b9 C:\tomcat>java org.apache.catalina.

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 e

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: and in the $TOMCAT_HOME/conf/web.xml,I did the following security-constraint: all /* cust

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 element. thanks a lot. I do not know whether that feature works well with Tomcat 5.5,if so,I can use

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

2007-10-31 Thread zhongliang zhang
thanks in advance! > Date: Wed, 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

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",... t

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

2007-10-30 Thread zhongliang zhang
ation,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)

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

2007-10-30 Thread zhongliang zhang
following element:admin set to *? thanks in advance for your kindness! > Date: Wed, 31 Oct 2007 01:01:04 +> From: [EMAIL PROTECTED]> To: > users@tomcat.apache.org> Subject: Re: [tomcat]How to decrypt the DIGEST > authentication?> > zhongliang zhang wrote:> &g

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
he.org/tomcat-5.5-doc/realm-howto.html> > Regards,> lg> > > On Oct 30, 2007 1:50 AM, zhongliang zhang <[EMAIL PROTECTED]> wrote:> > > Hi,everyone,> > I got a problem with the DIGEST authentication.> > I > configured my web.xml as followed:> &g

RE: Keytool: SSL Certification Issue

2007-10-29 Thread zhongliang zhang
Maybe you should try the following fragment: By default the truststorePass of cacerts is changeit,while the keystorepass is customized by yourself. Also,you need to configure some external info in the web.xml of Tomcat or your own application I think. like app /pages/* app

[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: app /* poweruser