Thank you Mark for your clue!
Jason
On Mon, Mar 3, 2008 at 4:14 PM, Mark Thomas <[EMAIL PROTECTED]> wrote:
> Jason Ling wrote:
> > What is the the sub-element of for in the
> > application's web.xml file, when and how is it used? Suppose I
> configure
> > more than one in server.xml, is tha
I got what you way: the and the are not the same thing
and not related in the security configuration I am trying to learn. I will
try to find time to do some reading on http to understand that realm.
My next goal is a JNDIRealm (LDAP).
Thank you very much for your kind help, David!
Jason
Jason Ling wrote:
What is the the sub-element of for in the
application's web.xml file, when and how is it used? Suppose I configure
more than one in server.xml, is that the scenario where I need to
use the tag to specify which Realm to use? In that case,
what is the name for the realm?
What is in the web.xml is not tomcat specific. The "realm" you see in
web.xml is related to the notion of realm used by http protocol, that is
a string showed to user when the login with http basic authentification,
and which server for browser to seperate login in different "realms" for
a same
Thank you, David. Now it works!
I looked back into the documentation for DataSource, and then configured one
in the server.xml file as a JNDI . It seems to me that the
gets associated with the by jdbc/webappDB, and that tells
tomcat server where to find the Oracle server.
Nevertheless, I stil
And, actually, you didn't do the part where you configure the datasource
that your realm will use, information that is provided in the link i
pointed you to. If you did actually configure the datasource (which is
separate from the datasourcerealm), you wouldn't say
I still wonder
how Tomcat w
Thank you, David.
Sorry, I sent this message two times, each time only the quoted message was
sent, but not my reply. This is another try.
Actually I did read the document you provided the link to. In that document
(The Realm Component) the following attributes are listed for the
DataSourceReal
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq <[EMAIL PROTECTED]> wrote:
> Jason Ling a écrit :
> >
> > I changed the element in the server.xml file, and it became:
> >
> >> dataSourceName="jdbc/webappDB"
> > driverName="oracle.jdbc.OracleDriver"
> > connec
On Mon, Mar 3, 2008 at 1:11 PM, David Delbecq <[EMAIL PROTECTED]> wrote:
> Jason Ling a écrit :
> >
> > I changed the element in the server.xml file, and it became:
> >
> >> dataSourceName="jdbc/webappDB"
> > driverName="oracle.jdbc.OracleDriver"
> > connec
Jason Ling a écrit :
I changed the element in the server.xml file, and it became:
your are using the datasourcerealm with parameters from the jdbcrealm,
those are two separate realms. For datasource realm, you need to define
a datasource that matches the one specified in
dataSou
Hi, everybody:
I was trying out the DataSourceRealm configuration by following the
documentation included in the installation of Tomcat 5.5.23 on my machine
but could not make it work. It would be very much appreciated if Tomcat
gurus and veterans can spare some time reading my message and help m
11 matches
Mail list logo