Thanks for reply. That's what I thought at first...but why Tomcat doesn't need a Realm and only LoginModule is sufficient? If anyone of you could possibly know of documentation where are those facts explained, please post a link here.
[Message sent by forum member 'mraky' (kubal.p_at_seznam.cz)]
http://forums.java.net/jive/thread.jspa?messageID=370036