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

 

Reply via email to