MemoryRealm question

2007-11-19 Thread Bárbara Vieira
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

Re: MemoryRealm question

2007-11-19 Thread Mark Thomas
Bárbara Vieira wrote: When I use that Realm, how the principals variable, that is declared in that class(MemoryRealm) as a HashMap, is loaded? Configure Tomcat to use the MemoryRealm. Start tomcat with JPDA debugging enabled. Set a break point at the start of the authenticate() method. Access a