tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bárbara Vieira <>
Subject MemoryRealm question
Date Mon, 19 Nov 2007 16:09:39 GMT

Hi everyone!!

I have a question about org.apache.catalina.realm.MemoryRealm. 

When I use that Realm, how the principals variable, that is declared in that
class(MemoryRealm) as a HashMap, is loaded? I.e. How the data that is in the
file (ex. Tomcat-users.xml) is loaded to that variable?! I’m trying to
implement my own realm, but using that MemoryRealm as a model. However when
I run my program with my own realm, the principals variable is null.


If anyone can help, I appreciate. 


Regards from Braga, Portugal

Bárbara Vieira


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message