Hi
First of all, are you sure a JDBCRealm or a DataSourceRealm do not fill your
needs ?
Secondly, AFAIK when providing a Jaas module to the JaasRealm you just need
to provide the authentication method (LoginModule inteface). You don't have
to manipulate the loginContext, it is the JaasRealm job
hi,
I can't figure out why you need to extend a JaasRealm ?
This class lives in the server classloader, therein it cannot be and
should definitivly never be accessed from your webapp.
I think that you missunderstand the way to use the JaasRealm. Please look at
my previous post (today) and tell me
in the jaas.conf
4: Configure the context / web.xml file
On 3/7/07, olivier nouguier [EMAIL PROTECTED] wrote:
hi,
I can't figure out why you need to extend a JaasRealm ?
This class lives in the server classloader, therein it cannot be and
should definitivly never be accessed from your webapp.
I
Hi
Are you you sure that select 1 is a valid query under DB2?
It is under mysql but it is not under DB2/AS400 !
HIH
On 2/2/07, Pete [EMAIL PROTECTED] wrote:
Thanks Tim.
More information to my intial question:
-I have also installed Websphere App Server on this machine and
configured the
Hi,
Nothing more than for another database.
But:
- be carrefull to put a valid validationQuery ( eg: select 1; is not
supported by DB2/OS400 )!
the URL and drivers should look like:
parameter
nameurl/name
A query that *always* return a row ...
On 1/11/07, Greg Foulks [EMAIL PROTECTED] wrote:
then what would be a vaild validation query?
On 1/11/07, olivier nouguier [EMAIL PROTECTED] wrote:
Hi,
Nothing more than for another database.
But:
- be carrefull to put a valid validationQuery ( eg
In the web.xml:
The servlet api must be set with something like:
web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=
http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=
http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
Instead of old
j_username should give you something better ;-)
On 12/21/06, Gregor Schneider [EMAIL PROTECTED] wrote:
Hi list,
we're really, really deperate here.
We have developed a web-app on Debian Edge with Tomcat 5.5.17 using
Form-based Authentication with a JDBC-realm. Database is a MySQL
4.1.11
1) How do you submit your forms ... a few years ago I had a guy who show my
that issue, in fact he submitted the form oncheck on an input image ...
2a) There is a simple server side pattern two avoid double submit:(could not
find the www reference).
* jsp put a token in the session (scriplet,
hi
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
and
http://java.sun.com/products/servlet/download.html
On 12/17/06, Dani [EMAIL PROTECTED] wrote:
Hi.
I have my webapp in c:\tomcat\webapps\rms\ and when I access
http://localhost/rms/ Tomcat asks me for a user and a password. Even
export CATALINA_OPTS=-Dfile.encoding=UTF-8
On 12/12/06, Mester József [EMAIL PROTECTED] wrote:
Hi
I have some problem with character encoding. I have found a page (
http://junlu.com/msg/1132.html ) and on this page there is a direction:
2.
In the Catalina.bat (windows) catalina.sh (linux)
hi
Just put then in /WEB-INF/templates ...
On 12/12/06, Sköldheimer Fredrik [EMAIL PROTECTED] wrote:
Hello
I'm new to the tomcat servers (have experience from apache webserver).
I have a project coded in Java/JSF/Facelets and I need to restrict access
to the folder that contains the
hi,
By http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html
Shared is the parent classloader of webapp.
AFAIK the consequence of this in that a class loaded from webapp classloader
can see other classes (whenever they come from shared, webapp or common),
but the reverse is not true,
hi,
http://tomcat.apache.org/connectors-doc/faq.html
http://tomcat.apache.org/connectors-doc/howto/workers.html
Look for keep alive
On 12/1/06, Manish Kumar Singh [EMAIL PROTECTED] wrote:
Hi All,
We have a web application that communicates with siebel server 7.5.3.
There is a firewall
hi,
A: put apache (httpd) in front of tomcat == quite easy.
B: dirty read/stream hack == don't know what to say :-)
On 11/29/06, Jennifer Lu [EMAIL PROTECTED] wrote:
Hi David,
I think I have joined the list as I have received the confirmation on
this?
Probably this is the first email I sent
will be
redirected (internaly aka forward (tomcat 5)) to the login page!
sam
olivier nouguier [EMAIL PROTECTED] wrote:
hi,
You are using the FORM authentication scheme!
This scheme imply that:
1: a secured resource is accessed.
2: login (error-page) is given
3: login occures
4: secured resource (1
hi,
You are using the FORM authentication scheme!
This scheme imply that:
1: a secured resource is accessed.
2: login (error-page) is given
3: login occures
4: secured resource (1) is given (with a GET !)
408 error code may occurs if:
a - login page is access directly ( starting at stage 2).
b
hi
What do you mean by start the application ? Restart tomcat ?
On 11/23/06, Dipl.-Ing. Holger Evers | Cybay New Media [EMAIL PROTECTED]
wrote:
Hello,
i've set up my Tomcat with form based authentication and a JDBCRealm
(besides i use an AJP-Connector to attach it to Apache1.3). Everything
Hi
The natural *post* should be
http://localhost/realm-test
/j_security_check?j_username=fooj_password=bar
And should be OK.
What are your need ?
On 11/22/06, Santosh Puranshettiwar [EMAIL PROTECTED] wrote:
Hello,
I wish to user a JDBCRealm with the username password coming in the
HTTP
smart to GET login password in (clear) URL ;-)
On 11/22/06, Santosh Puranshettiwar [EMAIL PROTECTED] wrote:
olivier nouguier wrote:
Thanks.
Hi
The natural *post* should be
http://localhost/realm-test
/j_security_check?j_username=fooj_password=bar
Let me make sure I got it right.
So you
-method
form-login-config
form-login-page/login.jsp/form-login-page
/form-login-config
/login-config
-Original Message-
From: olivier nouguier [mailto:[EMAIL PROTECTED]
Sent: 21 November 2006 18:20
To: Tomcat Users List
Subject: Re: tomcat 5.5 multiple contexts
in App B!?) but it is now working as I expect!
Many thanks
U welcome.
Elliott
-Original Message-
From: olivier nouguier [mailto:[EMAIL PROTECTED]
Sent: 22 November 2006 12:10
To: Tomcat Users List
Subject: Re: tomcat 5.5 multiple contexts using same realm bug?
Hum, looking back to your
wtp tptp? (www.eclipse.org/)
On 11/22/06, asaf.lahav [EMAIL PROTECTED] wrote:
Can anyone recommend a good (and FREE) java profiling tool that can be used
to profile a webapp running under Tomcat 5.5?
Thanks in advance,
Asaf
--
Souviens-toi qu'au moment de ta naissance tout le monde
Hi pierre,
Simply what is your question ?
Did you try wtp ?
On 11/22/06, Pierre Goupil [EMAIL PROTECTED] wrote:
Hi all !
I once had a Tomcat 5.5 and an Eclipse 3.2 that where running just fine and
then... the HDD crashed... I suffered no data lost but since then, I can't
start Tomcat anymore.
Is there something between apache and tomcat (firewall ?).
On 11/21/06, Rainer Jung [EMAIL PROTECTED] wrote:
Please post your mod_jk config (Webserver part, eg. Jk* directoves in
httpd.conf, workers.properties, other relevant config and the connector
element of the AJP connector in your
Hi all,
I was wondering if there is a smarter way to reload a jaas configuration
file than to call
Configuration.getConfiguration().refresh(); in a servlet.
I was thinking of such a call in a webapp lifcycle listener.
I really don't know much about JMX but perhaps it should the only nice way?
26 matches
Mail list logo