Hello All,
I am unable to get request.getUserPrincipal() or
request.getRemoteUser() after successful external authentication.
I would greatly appreciate if you could let me know of any configuration on
tomcat server to be looked at to get the user principal.
Below is the implementation
Aha, that fixes it.
Thanks for that explanation, I had completely missed that about the url-pattern
being relative to the webapp. I clearly need to un-confuse myself about
servlet-mapping.
Thank you!
-Tod
On Sep 18, 2011, at 2:19 PM, André Warnier wrote:
> Hi.
>
> Change the of your test
18 sep 2011 kl. 17.17 Dola Woolfe wrote:
Hi,
I'm missing something very basic. I will develop a web application
with users and authentication.
Surely, there exists a relatively generic approach to this that
includes a backend database, new user form and authentication rules!
But I can'
If you find please share it with the rest of us.
The only solution I could find is
* either use a portal solution which has already implemented a
security model like, Jetspeed 2. uportal etc
* go with the default models as they are presented in JEE tutorial,
basic , form etc.
* Implement
Hi.
Change the of your test application, to be exactly the same as the
of the production application.
And invoke it as "http://yourhost.cpy.com/testvsb/";, followed by the same "rest of URL" as
what you use for the main application.
Brief explanation : the is *relative* to the "webapp na
Hi.
I believe that the problem you are having has nothing to do with Tomcat per se, and
everything to do with how absolute and relative link references work in the WWW (or in
HTTP/HTML) in general.
You need a tutorial on that subject, and to always consider what happens *from the
browser's p
2011/9/18 PocketA :
>
> Hi,
>
> In my web service (using tomcat 7.0) I use a datasource to MySql database
> configured under context.xml (in my WEB-INF directory) which looks like the
It will be in META-INF, not in WEB-INF.
> following :
>
>
>
> type="javax.sql.DataSource" maxActive="100"
Hi,
In my web service (using tomcat 7.0) I use a datasource to MySql database
configured under context.xml (in my WEB-INF directory) which looks like the
following :
My question is : Is it safe to store user/pass like this ? if not, what is
commonly used as a safe approach ?
Than
I would like to run two versions of the same servlet (same servlet-class, but
with different WAR filename, servlet-name and url-pattern) under a single
instance of Tomcat 6.0.33. Basically, the aim is to run both test and
production versions of the servlet under the same instance. Better to r
Hi, We have just changed the way we deploy our webapp. We previously were putting our app into the ROOT folder under webapps , not good I know.We now package the app as a war file called myapp.war and place it into the webapps folder where it explodes into a folder called myapp. Everythingworks exc
> From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: Users and
> authentication - how?
> Surely, there exists a relatively generic approach to this that
> includes a backend database, new user form and authentication
> rules! But I can't find. Can someone direct me as to where to
> start m
check the j2ee specs on the declaration in web.xml and j_securitycheck form
based login servlet for use of jaas in your webapp with the tomcat realm as
source of authentication data.
best regards,
thomas
--
Thomas Strauß
SRS-Management GmbH
HRB 25262 AG Darmstadt
Gfs.: Detlev Homilius, Thomas
Hi,
I'm missing something very basic. I will develop a web application with users
and authentication.
Surely, there exists a relatively generic approach to this that includes a
backend database, new user form and authentication rules! But I can't find. Can
someone direct me as to where to star
Hello
I have a situation where I'm using Tomcat 6.0.26 but the logging in / out of
the application is not authenticated via Tomcat's:
action='<%= response.encodeURL("j_security_check") %>' >
method.
The current system allows cookies to store userids which are used to show
recent lis
Hello,
I had email a while ago asking for help with some errors I was getting
with an application that I inherited which was working OK but was
getting a few errors after moving it to a new server. I am not a tomcat
person in that I do not know a lot about it but do know my way around a
serve
Hello:
I am new in learning Tomcat.
In turn, I download tomcat source code , build it with Apache-Ant , and
test it with JUnit. I use the following commands to build and test Tomcat
ant test
It seams the test fails as I got the following result:
BUILD FAILED
16 matches
Mail list logo