I'm not sure I understand - are you saying to rename ldsecure.xml -
context.xml?
Curtis
[EMAIL PROTECTED] 02/16/05 01:35AM
Hi,
I'm not sure but you could try to rename the ldsecure.xml file in
context.xml.
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé
] 02/16/05 11:39AM
Yes! Because the name of the file is tomcat specific (it isn't a standard)!
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 février 2005 19:30
À : tomcat-user@jakarta.apache.org
Objet : Re: RE : RE : RE : RE : RE : RE : Tomcat
If I want to host several different web apps in Tomcat, each having it's own
user database using FORM authentication, how would I configure Tomcat? I
tried putting the jdbcRealm in the /engine/hostname/nnn.xml file, yet when I
try to log into one of my pages I get the error:
Feb 14, 2005
(for example
using java.security.auth.login.config system property. This file specifies
application by application your login module.
In your case, it seems that you have to declare Realm in your application
context.
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé
a login configuration
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 15 février 2005 17:15
À : tomcat-user@jakarta.apache.org
Objet : Re: RE : Tomcat configuration
Thanks for the reply.
I'm not using (to the best of my knowledge) JAASRealm. I just want
xmlNamespaceAware=false
/Host
/Engine
/Service
/Server
Thanks for you help.
[EMAIL PROTECTED] 02/15/05 09:51AM
JAASRealm is not a default!
Could you send us your server.xml?
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 15 février 2005
you send us your context.xml file?
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 15 février 2005 18:03
À : tomcat-user@jakarta.apache.org
Objet : Re: RE : RE : RE : Tomcat configuration
With pleasure.
Server port=8005 shutdown=SHUTDOWN
Listener
is +
meta.getDriverVersion());
}
}
I assume that you have deployed your context configuration in :
- META-INF/context.xml directory of your WAR file
- $CATALINA_HOME/conf/[enginename]/[hostname]/ directory
-Message d'origine-
De : Curtis Nelson [mailto:[EMAIL PROTECTED]
Envoyé : mardi 15
too?
aka_sergio
--- Curtis Nelson [EMAIL PROTECTED] wrote:
I know the database connection works, because if I
include the realm as part of the engine or host,
then I can login correctly. As far as reading the
realm how-to, I've done that several times. The
second .xml file I sent you
, I can't think of where to look for now.
aka_sergio
--- Curtis Nelson [EMAIL PROTECTED] wrote:
Thanks for replying.
Here's my web.xml file:
?xml version=1.0 encoding=ISO-8859-1?
!DOCTYPE web-app PUBLIC -//Sun Microsystems,
Inc.//DTD Web Application 2.3//EN
http://java.sun.com/dtd
Hi,
I'm trying to configure tomcat 5.5 with a context realm using FORM
authentication. My login page works when the realm is part of the engine or
host element of server.xml, but when I move it to the context element, I
receive an error (in the log file) stating that no login configuration
11 matches
Mail list logo