tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vic Cekvenich>
Subject Re: request for solution, form-based authentication and programmatic authentication, repost
Date Mon, 05 May 2003 21:32:01 GMT
I think almost everyone does what you are saying.
If you did not understand JDBC Realm docs, here is a working example 

Also at the same place is java source doing what you want in Struts.


<a href ="">Struts Training</a> and project recovery in 
North East. <p>
<a href ="">Content Management</a> in Open Source: basic 
Best practice <a href ="">Struts 1.1supported</a> 
framework: ScafflodingXPress<p>

jarla wrote:

>I am developing a web application based on tomcat 4.0 and servlets.
>The application utilizes the form-based authentication and JDBCRealm 
>The authorization and authentication should work like this:
>First-time users seeking access, submits a form containing requested 
>user name, password and some personal information. This authorizes the 
>user for later occations (sessions) and grants immediately access.  
>User authorized on a prior occation (session) seeking access, submits a
>login form. 
>The latter function is handled by the form-based authentication 
>I can not, however, see a solution for the first function. I.e how to
>avoid that the first-time user submits a personal information form and
>then submits a login form.
>Is there any way to authenticate a user programmatically?
>If not is there any other way at all?
>In advance, thanks for any contributions,
>Jarl Aanonsen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message