I'm using Tomcat 5.5.9 and my realm-class definetly extends the JDBC realm and 
not the JAAS realm. But it seems that the configuration in my context element 
is not been found. You say that my solution isn't the correct way. Can you show 
me a better way to define different context in the server.xml? Because I found 
my solution somewhere in the www.

Regards,
JasDA

> -----Ursprüngliche Nachricht-----
> Von: "Tomcat Users List" <users@tomcat.apache.org>
> Gesendet: 15.01.08 15:27:30
> An: "Tomcat Users List" <users@tomcat.apache.org>
> Betreff: RE: JDBC Realm doesn't work properly


> 
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> > Subject: JDBC Realm doesn't work properly
> > 
> > I'm using a self extended class of JDBC realm to realize a 
> > user authentication.
> 
> Would you care to tell us the version of Tomcat you're using, or should
> we guess?
> 
> > So I've put this realm-configuration into a context-element:
> 
> Where is your <Context> element located?
> 
> > <Context docBase="${catalina.home}/webapps/app"
> 
> A docBase pointing into webapps is never correct; for that matter, the
> docBase attribute is usually not allowed.
> 
> > java.lang.SecurityException: 
> > Anmeldekonfiguration kann nicht gefunden werden.
> > ...
> > at
> org.apache.catalina.realm.JAASRealm.authenticate(JAASRealm.java:347)
> 
> This looks like you've subclassed the JAAS realm, not the JDBC one, and
> it's hunting for the JAAS configuration file.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to