You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "S.M.A" <su...@planet.nl> on 2003/01/14 17:50:21 UTC
JAAS and Catalina
Hi,
Does anyone remember How the JAASRealm is configured? I did a search on
the list archive and I gather its been some time since there has been
talk of JAAS. I have modified server.xml to <Realm
className="org.apache.catalina.realm.JAASRealm" debug="99"
loginContext="MasterJMSLogin"/> . I have also modified the catalina.sh
(under start and -security) to use the following VM parameters;
-Djava.security.auth.policy="$CATALINA_BASE"/conf/jaas.policy
-Djava.security.auth.login.config="$CATALINA_BASE"/conf/jaas.conf. When
i run the
http://localhost:8080/examples/jsp/security/protected/login.jsp , the
page works as expected in that authentication fails but with the
following error in the log file :
"javax.security.auth.login.LoginException: No LoginModule configured
for Tomcat"
The config I pass into the VM contains the following
MasterJMSLogin{
nl.dnd.security.auth.MasterLoginModule required;
};
I tried to change the loginContext to Tomcat (both in server.xml and in
the jaas.conf but the problem persists. Any help would be deeply
appreciated in elucidating the problem.
regards
Suhail
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>