redirect after login using form-based-auth

2005-08-09 Thread Paulo Neves
Hi, Hi have tomcat 4.1. It is possible to define a fixed url to redirect after login in form-based-auth ? Now they redirect to page where I try to access and need login, but if page needs post values they give-me an error. Thanks, Paulo -- -- Paulo

form based auth problem when disallowing cookies

2003-02-08 Thread mech
Hi, I'm using Tomcat 4.1.18 with a form based auth method. My login.jsp is in a directory context/login/ and for that directory I've also set a security contraint which switches to https for logon (and stays in https, of course) I have no problem when I use cookies, but I see a bit strange

RE: form-based auth

2003-02-03 Thread Madere, Colin
] Subject: Re: form-based auth Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 31 Jan 2003, Mad

Re: form-based auth

2003-02-01 Thread Bill Barker
ROTECTED] Subject: Re: form-based auth Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Fri, 31 Jan 2003, Madere, Colin wrote: Date: Fri, 31 Jan 2003 14:06:27 -0600 From: Madere, Colin [EMAIL PROTECTED] Reply-

form-based auth

2003-01-31 Thread Madere, Colin
Anyone out there have multiple contexts (or simply multiple webapps) authenticating with the same form (login form in a single location)? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: form-based auth

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Madere, Colin wrote: Date: Fri, 31 Jan 2003 14:06:27 -0600 From: Madere, Colin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: form-based auth Anyone out there have multiple contexts (or simply

Re: form-based auth

2003-01-31 Thread Bill Barker
ROTECTED]' [EMAIL PROTECTED] Subject: form-based auth Anyone out there have multiple contexts (or simply multiple webapps) authenticating with the same form (login form in a single location)? The form login page has to be within the webapp, so this is not possible. Well, not really tr

Re: form-based auth

2003-01-31 Thread Craig R. McClanahan
On Fri, 31 Jan 2003, Bill Barker wrote: Date: Fri, 31 Jan 2003 22:54:38 -0800 From: Bill Barker [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: form-based auth Craig R. McClanahan [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED

Redirecting Request To Login Form (J2EE form-based auth)

2003-01-28 Thread Steven J. Owens
Hi folks, This just occurred to me... there's a gotcha with J2EE form-based authentication (broken as designed), that it uses client-side redirect to send the user to the login form, but if the user later uses the Back key to get to the login form, or bookmarks the login page, they get an

SSL Configuration for Form-Based Auth.

2002-09-30 Thread Danny Morgan
First this is what I have installed: Redhat Linux v7.3 w/ apache-1.3.23-14 mod_ssl-2.8.7-6 Sun's Java jdk-1.4.1 Jakarta tomcat-4.1.12 mod_jk2 I currently have the web-app up and running just fine, however I'm running into a few problems with form-based auth using SSL. Apache is configured

RE: JDBCRealm + Form Based Auth. How do I tell it were to go if loginis ok?

2002-08-28 Thread Michael Remijan
To: Tomcat Users List Subject: JDBCRealm + Form Based Auth. How do I tell it were to go if loginis ok? Hello there. Very new to realms and java, so sorry if this is too stupid. I have set up a JDBCRealm using PostgreSQL and it all seems to work, It does connect and load the roles, and when I try to access

JDBCRealm + Form Based Auth. How do I tell it were to go if loginis ok?

2002-08-27 Thread Alexander Wallace
Hello there. Very new to realms and java, so sorry if this is too stupid. I have set up a JDBCRealm using PostgreSQL and it all seems to work, It does connect and load the roles, and when I try to access protected resources, it does go to the Form based login I specigy in web.xml and the error

Re: JDBCRealm + Form Based Auth. How do I tell it were to go iflogin is ok?

2002-08-27 Thread Craig R. McClanahan
On 27 Aug 2002, Alexander Wallace wrote: Date: 27 Aug 2002 09:17:58 +0100 From: Alexander Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: JDBCRealm + Form Based Auth. How do I tell it were to go if login is ok

AW: form based auth...

2002-08-12 Thread Ralph Einfeldt
-Ursprüngliche Nachricht- Von: Softwareentwicklung Hauschel [mailto:[EMAIL PROTECTED]] Gesendet: Sonntag, 11. August 2002 16:48 An: [EMAIL PROTECTED] Betreff: form based auth... java.lang.NullPointerException at org.apache.jsp.error$jsp._jspService(error$jsp.java:61

AW: form based auth...

2002-08-12 Thread Softwareentwicklung Hauschel
Really stupid to use a jsp error.jsp for login ;-) It works, thank you very much ! -Ursprüngliche Nachricht- Von: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 08:31 An: Tomcat Users List Betreff: AW: form based auth... The problem lies in your error.jsp

form based auth...

2002-08-11 Thread Softwareentwicklung Hauschel
Heyall, i want to use the form based auth... It seems to work, but if i pass a wrong user/password tomcat answers with the following Exception. Can anybody find a mistake in my cofiguration etc. ??? Apache Tomcat/4.0.4 - HTTP Status 500 - Internal Server Error type Exception report message

Form based auth problems with jsessionid in url

2002-05-14 Thread Ingo Bruell
Hi, i am using tomcat 4.0.3 under jdk1.4. I have configured form based authentifikation and it works great if cookies are allowed. but if the client diables cookies (with opera, mozilla or netscape), and the login form was shown, in the url also a session is generated. When i submit this form

Re: URL rewriting, cookies and form based auth

2001-07-23 Thread Craig R. McClanahan
Because form-based login requires the use of sessions, you *must* use URL rewriting to pass the session id when your clients do not support cookies. In practical terms, that means your form-based login page should be a JSP (rather than static HTML) with a form element like this: FORM

URL rewriting, cookies and form based auth

2001-07-18 Thread Hensley, Zachary
I can not get form based authentication to work with cookies turned off and using URL rewriting. I have set noCookie=true in the server.xml and I have tried several different variations of passing jessionid, all listed below. FORM METHOD=POST name=login ACTION=j_security_check INPUT TYPE=hidden

Help: form-based auth in Tomcat 3.2.1

2001-03-21 Thread Valeriy Molyakov
Hi ! Form-based authentication : When I use Apache + mod _ jk + Tomcat3.2.1 I receive an error 404 url : http: // valera.kompan.com.ua/auto/j _ security _ check With use Tomcat standalone all works fine. Where is a problem ? Software :NT2000+Tomcat3.2.1+Apache1.3.14+mod_jk Best

Re: Form based auth. again...

2001-03-21 Thread Christian Rauh
Vladimir Grishchenko wrote: Christian Rauh wrote: Vladimir Grishchenko wrote: Christian Rauh wrote: Vladimir Grishchenko wrote: I am also facing the same problem and had an idea while reading your post. Maybe you can set a frame on your main page where you want

Re: form-based auth in Tomcat 3.2.1

2001-03-21 Thread affan
PROTECTED] Sent: Wednesday, March 21, 2001 12:54 PM Subject: Help: form-based auth in Tomcat 3.2.1 Hi ! Form-based authentication : When I use Apache + mod _ jk + Tomcat3.2.1 I receive an error 404 url : http: // valera.kompan.com.ua/auto/j _ security _ check With use

ODP: Help: form-based auth in Tomcat 3.2.1

2001-03-21 Thread Herchel Wojciech
i have exactly the same symptoms - posted it here and never solved it... anybody? vVolf -Oryginalna wiadomosc- Od: Valeriy Molyakov [mailto:[EMAIL PROTECTED]] Wyslano: 21 marca 2001 13:54 Do: [EMAIL PROTECTED] Temat: Help: form-based auth in Tomcat 3.2.1

Re: form-based auth in Tomcat 3.2.1

2001-03-21 Thread Valeriy Molyakov
: Help: form-based auth in Tomcat 3.2.1 Hi ! Form-based authentication : When I use Apache + mod _ jk + Tomcat3.2.1 I receive an error 404 url : http: // valera.kompan.com.ua/auto/j _ security _ check With use Tomcat standalone all works fine. Where is a problem

RE: Help: form-based auth in Tomcat 3.2.1

2001-03-21 Thread Jason Yam
Title: RE: Help: form-based auth in Tomcat 3.2.1 Not sure it helps or not. Use port 8080. e.g. http://1.2.3.4:8080/examples/jsp/security/login.jsp Jason -Original Message- From: Valeriy Molyakov To: [EMAIL PROTECTED] Sent: 3/21/01 8:54 PM Subject: Help: form-based auth in Tomcat

Re: Form based auth. again...

2001-03-14 Thread Christian Rauh
Vladimir Grishchenko wrote: "Craig R. McClanahan" wrote: * Have the link on your home page exactly has you describe, but have the link point at a "Welcome To My Application" page inside the protected area. The fact that this page is protected will trigger the authentication

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Christian Rauh wrote: Vladimir Grishchenko wrote: "Craig R. McClanahan" wrote: * Have the link on your home page exactly has you describe, but have the link point at a "Welcome To My Application" page inside the protected area. The fact that this page is protected will

Re: Form based auth. again...

2001-03-14 Thread Daniel Lopez
Hi Vladimir, snipped for brevity I'm thinking along the same lines... You could also embed a tiny invisible image in protected area to your front page (named /welcome, for example) and define your login form as /welcome?mode=login, so whenever you're not authorized welcome page is smart to

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Daniel Lopez wrote: Hi Vladimir, snipped for brevity I'm thinking along the same lines... You could also embed a tiny invisible image in protected area to your front page (named /welcome, for example) and define your login form as /welcome?mode=login, so whenever you're not

Re: Form based auth. again...

2001-03-14 Thread Christian Rauh
Vladimir Grishchenko wrote: Christian Rauh wrote: Vladimir Grishchenko wrote: I am also facing the same problem and had an idea while reading your post. Maybe you can set a frame on your main page where you want the login to appear. That frame links to that welcome page proposed

Re: Form based auth. again...

2001-03-14 Thread Vladimir Grishchenko
Christian Rauh wrote: Vladimir Grishchenko wrote: Christian Rauh wrote: Vladimir Grishchenko wrote: I am also facing the same problem and had an idea while reading your post. Maybe you can set a frame on your main page where you want the login to appear. That frame links

Re: Form based auth. again...

2001-03-12 Thread Craig R. McClanahan
ction won't work. So, is there any way to accomplish this just using Servlet 2.2 specified form based auth. mechanism or I need to resort to some sort of custom security/session checker servlet??? Briefly looked through the mailing list archives and couldn't find any info. A couple of choices to consi

Form based auth. again...

2001-03-11 Thread Vladimir Grishchenko
"j_security_check" as form's action won't work. So, is there any way to accomplish this just using Servlet 2.2 specified form based auth. mechanism or I need to resort to some sort of custom security/session checker servlet??? Briefly looked through the mailing list archives and couldn't fin

form based auth broken - no cookie sent?

2001-03-09 Thread DUDGEON
I can't get form based authentication working with the latest snapshots. Works fine with 4.0b1. Authentication is working, but the redirection back to the original page seems to fail, I think because no cookie is being sent. With 4.0b1 a cookie is sent along with the login page. With the latest

Form-Based Auth and tracking Login Attempts

2001-03-07 Thread Rajesh A
to get their account unlocked. I have tried searching this mailing list's archives with no luck. In form-based auth my login.jsp page has a html form that is submitted to j_security_check handled by the container. So I have no control it and so not able to count the number of login failures. Any

RE: Form-Based Auth and tracking Login Attempts

2001-03-07 Thread Randy Layman
the application administrators to get their account unlocked. I have tried searching this mailing list's archives with no luck. In form-based auth my login.jsp page has a html form that is submitted to j_security_check handled by the container. So I have no control it and so not able to count

RE: Form-Based Auth and tracking Login Attempts

2001-03-07 Thread Alistair Hopkins
Why not implement a unix-style login which gets slower after every duff attempt? -Original Message- From: Randy Layman [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 07, 2001 1:10 PM To: [EMAIL PROTECTED] Subject: RE: Form-Based Auth and tracking Login Attempts One

Re: Form based auth

2001-03-05 Thread Craig R. McClanahan
Mike Slinn wrote: Message-ID: [EMAIL PROTECTED] I read in org.apache.tomcat.request.JDBCRealm.java that the proper URI should be "/j_security_check", and that if the preceeding "/" is not present, or if another path is prepended, the path is normalized to "/j_security_check". If that

Form based auth - saving login credentials?

2001-03-05 Thread Kevin McDonald
Craig McClanahan wrote: A couple of things to remember: * Due to a bug in Tomcat 3.2.1, the form-login-page and form-error-page pages must *not* be within an area protected by a security constraint. Yup - I protected /servlets instead of /jsp and the form worked fine. My next task - I

ODP: Form based auth

2001-03-04 Thread Herchel Wojciech
] DW: 'uthay ' Temat: Re: Form based auth "McCay, Larry" wrote: vVolf, I have observed the same behavior on 3.1 and 3.2.1. I am going to dig in a little deeper to see what security functionality is supported at all. Form based security was not supported in

Re: Form based auth

2001-03-02 Thread Craig R. McClanahan
"McCay, Larry" wrote: vVolf, I have observed the same behavior on 3.1 and 3.2.1. I am going to dig in a little deeper to see what security functionality is supported at all. Form based security was not supported in Tomcat 3.1, but is supported in 3.2 and 4.0. Note that you do ***not***

Re: Form based auth

2001-03-02 Thread Mike Slinn
Message-ID: [EMAIL PROTECTED] I read in org.apache.tomcat.request.JDBCRealm.java that the proper URI should be "/j_security_check", and that if the preceeding "/" is not present, or if another path is prepended, the path is normalized to "/j_security_check". If this URI is recognized, and the

RE: Form based auth

2001-02-28 Thread McCay, Larry
vVolf, I have observed the same behavior on 3.1 and 3.2.1. I am going to dig in a little deeper to see what security functionality is supported at all. thanks, -larry -Original Message- From: uthay To: [EMAIL PROTECTED] Sent: 2/27/01 11:47 AM Subject: Re: Form based auth hm

Form based auth

2001-02-27 Thread Herchel Wojciech
Hi all! How come would Tomcat (Apache?) return 404 Error while trying to authenticate via form? apparently it does not recognise "j_security_check". anybody has got any idea? here's my code (login.jsp): div align="center" form method="POST" action="j_security_check" table cellspacing=4 tr

R: Form based auth

2001-02-27 Thread Garry De Toffoli
PROTECTED] To: 'Tomcat' [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 4:14 PM Subject: Form based auth Hi all! How come would Tomcat (Apache?) return 404 Error while trying to authenticate via form? apparently it does not recognise "j_security_check". anybody has got any idea

Re: Form based auth

2001-02-27 Thread uthay
EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 3:14 PM Subject: Form based auth Hi all! How come would Tomcat (Apache?) return 404 Error while trying to authenticate via form? apparently it does not recognise "j_security_check". anybody has got any idea? here's my code (login.jsp):

ODP: Form based auth

2001-02-27 Thread Herchel Wojciech
- Original Message - From: "Herchel Wojciech" [EMAIL PROTECTED] To: "'Tomcat'" [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 3:14 PM Subject: Form based auth Hi all! How come would Tomcat (Apache?) return 404 Error while trying to authenticate via form? a

Re: Form based auth

2001-02-27 Thread uthay
: "Herchel Wojciech" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 27, 2001 4:03 PM Subject: ODP: Form based auth hm, according to servlet specification v2.2: "11.5.3.1 Login Form Notes ...the action of the login form must always be "j_security_che

ODP: Form based auth

2001-02-27 Thread Herchel Wojciech
oops, i don't really have j_security_check class, i thought it is taken care of by tomcat... vVolf -Oryginalna wiadomo- Od: uthay [mailto:[EMAIL PROTECTED]] Wysano: 27 lutego 2001 17:48 Do: [EMAIL PROTECTED] Temat: Re: Form based auth If you are using servlet then you dont