Joe A wrote:
> in the docs it says "The value for this attribute must be one of the digest
> algorithms supported by the java.security.MessageDigest class (SHA, MD2, or
> MD5). "
> 
> so if i encrypt using the sha1 algorithm, do you know if i should specify
> sha1 or sha-1 or sha?

Is it really too much effort for you to look this up in the API docs
yourself? It took me less than a minute to find the JavaDoc for
java.security.MessageDigest and to follow the links to the list of
supported digests.

The 1.6 docs list the following:
MD2, MD5, SHA-1, SHA-256, SHA-384, SHA512

Alternatively you could have just tried digesting a password. You should
see an exception if you try digesting a password with an invalid digest alg.

Mark

> 
> thanks,
> joe
> 
> On Mon, Sep 22, 2008 at 3:06 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> 
>> Joe A wrote:
>>> i'm talking about the part of configuration that lets you choose specify
>> how
>>> the passwords are stored in the users table.
>> To repeat my previous answer, any digest that is supported by the JVM you
>> are using is fine for this.
>>
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to