Before I dive into hacking a bunch of Tomcat source
code, I would very much like to solicit the opinions of
some more experienced users.
I need a form-login authorization scenario that
integrates with some of my other webapps. Specifically,
I need to know the username, real name and group info
of
Hi all,
I need to customize form-based authentication in Tomcat
so that I can have access to the user's session when
they are authenticated. I know I can write a custom
Realm class, but I don't see how I can get access to
the HttpServletRequest or HttpSession associated with
the request at
I am unable to start Tomcat with a JDBC Realm
configured. I am guessing it is because Tomcat can't
find the JDBC driver, but it should be able to. I have
the driver in shared/lib and shared/classes. Here is my
Realm configuration from server.xml:
Realm
Well I am inching closer to successfully implementing
Form-based authentication (I hope). The latest error is
when I submit the authentication form, the
j_security_check cannot be found. Apache is trying to
handle the request, so I know that's no good. I must
have to map the name j_security_check
I have form-based authentication set up far enough that
if I request a protected resource, Tomcat redirects me
to the login page. When I submit the login page to
j_security_check, Tomcat gives me this 500 error:
No Context configured to process this request
The server encountered an internal
Hi all,
I am migrating from a different servlet engine to
Tomcat, and so I already have quite a few web apps up
and running. I'd like to avoid shuffling things around
as much as possible on the move to Tomcat. Right now,
I've run into a problem with Tomcat being able to find
class libraries.
Can someone clarify something for me? Is a Context
placed within a Host basically just a web-app within a
virtual host? Can any tags that can be placed in a
web-app also be placed in a Context? Thanks very much.
Gregg
-
To
-
From: Barley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:26 PM
To: [EMAIL PROTECTED]
Subject: Question about Context vs web-app
Can someone clarify something for me? Is a Context
placed within a Host basically just a web-app
within a
virtual host?
Yes, exactly
LOL...is this fellow serious? You think other people
should have to do the reading for you? Wow, this group
tolerates a lot more ridiculous behavior than most tech
groups I read.
Thanx jsp. I THINK that you were defending my
honor :-) in telling someone else that I really don't
need at all to
I am setting up a JDBC realm using mySql. I would like
to be able to validate against passwords that are
stored using the mySql Password() function. Can anyone
tell me what the digest attribute in Realm should be
set to? Many thanks.
Gregg
, you'll find
much less sympathy than you have here.
Gregg
Lemme clarify my earlier post for you Barley!! I
only meant that there should be some kind of a nice
combination of BOTH RTFMing AND getting/receiving
useful advice from others in our newsgroup who have
vastly more experience
I have a Host set up in the server.xml file. I have a
Context within that host. I can navigate to:
http://hostroot/contextroot/filename.jsp fine
However, when I edit the file
hostroot/contextroot/WEB-INF/web.xml
and add:
login-config
auth-methodFORM/auth-method
OK, so it seems to be because Tomcat can't find the
login.jsp page. So, where does it look? I put the page
in the root folder of my Host and my Context with
the same results. Tomcat couldn't find it.
Why Tomcat also can't find my regular pages when it
can't find login.jsp is still very
OK...that was confusing, but is now solved. Here's the
answer in case it helps anyone in the future.
You need to start your form-login-page with a / So,
mine is now /login.jsp It looks in the Context root
folder for the file.
I still have no idea why misconfiguring this element
makes all pages
I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Tomcat runs fine standalone. I am now trying to
integrate Tomcat with Apache using mod_jk.so. I
compiled mod_jk.so from source and put it in my
modules/ directory. The module loads fine, but Apache
won't start, because it doesn't recognize the
I've tried including the auto-generated file. It didn't
make a difference, and I'd rather manually configure in
httpd.conf. It shouldn't make any difference, right?
And, I'm sorry Oscar, but what should I change? I don't
see any difference between your LoadModule line and
mine. Thanks for the
for me before
Lajos
Barley wrote:
I am using Apache 1.3 and Tomcat 4.1, RedHat 7.3.
Tomcat runs fine standalone. I am now trying to
integrate Tomcat with Apache using mod_jk.so. I
compiled mod_jk.so from source and put it in my
modules/ directory. The module loads fine, but
Apache
confused.
Is there any way to determine if the module has been
loaded? So, if I take out the JkMount line so that
Apache will start, is there a way to tell what modules
it has loaded? Thanks.
Gregg
The quotes and the lack of a newline.
Oscar
On Wed, 12 Feb 2003, Barley wrote:
I've tried
.
Thanks very much for you lightning fast ideas and help
Oscar and Lajos. I guess it was just one of those
annoying little mysterious problems.
Gregg
Does your httpd.conf have AddModule directives? If
so, add one for
mod_jk.c - that's solved the problem for me before
Lajos
Barley wrote:
I am
19 matches
Mail list logo