RealmBase is abstract

select a subclass that best accomplishes your functionality e.g.
  DataSourceRealm, UserDatabaseRealm, JNDIRealm, JAASRealm, JDBCRealm, 
JAASMemoryLoginModule, MemoryRealm

hth
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est 
interdite. Ce message sert à l'information seulement et n'aura pas n'importe 
quel effet légalement obligatoire. Étant donné que les email peuvent facilement 
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité 
pour le contenu fourni.




> From: r...@koberg.com
> To: users@tomcat.apache.org
> Subject: how to get realm name
> Date: Mon, 3 Aug 2009 18:45:33 -0700
> 
> Hi,
> 
> I want to digest the users credentials the same way as Digest  
> authentication:
> 
> RealmBase.Digest(username + ":" + somehowGetRealm() + ":" + password,  
> "MD5", "UTF-8");
> 
> I have been looking through the code and API, but cannot find a way to  
> get the realm name to perform the digest.
> 
> How do you get it? Or the LoginConfig? Or some non-Facade'd Standard  
> object?
> 
> thanks,
> -Rob
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM

Reply via email to