Solved

org.apache.catalina.realm.RealmBase.Digest question

Posted on 2007-04-04
2
1,030 Views
Last Modified: 2013-11-24
Digest

public static final java.lang.String Digest(java.lang.String credentials,
                                            java.lang.String algorithm,
                                            java.lang.String encoding)

    Digest password using the algorithm especificied and convert the result to a corresponding hex string. If exception, the plain credentials string is returned

    Parameters:
        credentials - Password or other credentials to use in authenticating this username
        algorithm - Algorithm used to do the digest
        encoding - Character encoding of the string to digest
/-------------------------------------------------------------------------------------------------------------------------------/

can anyone provide me with a sample code of how to use this method? tks
0
Comment
Question by:InNoCenT_Ch1ld
2 Comments
 
LVL 27

Accepted Solution

by:
Nopius earned 500 total points
ID: 18855801
Digest("users_password", "MD5", "ASCII") ?
0
 
LVL 3

Author Comment

by:InNoCenT_Ch1ld
ID: 18855911
aha, actually i found this out a couple minute ago...

tks anyway ;-)
have a nice day
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jar file executable 12 58
spring jars download 1 35
maven disable workspace resolution 1 22
DNS CNAME records visibility on a web server 2 13
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question