tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geofrey Rainey" <Geofrey.Rai...@tvnz.co.nz>
Subject RE: FW: JAAS Realm with JDBC Authentication
Date Tue, 07 Jul 2009 11:55:17 GMT
I am confused about integrating the JAAS Login Module with HTTP basic
auth. I was under
the impression that one had to handle this in a custom callback handler.
However I'm now
under the impression that the JAASRealm has a built-in callback hander
that does this.
Is this correct?

Cheers,
Geoff.

-----Original Message-----
From: Oliver Block [mailto:lists@oliver-block.eu] 
Sent: Tuesday, 7 July 2009 10:25 p.m.
To: users@tomcat.apache.org
Subject: Re: FW: JAAS Realm with JDBC Authentication

Please ask your questions.

Am Dienstag, 7. Juli 2009 00:51:29 schrieb Geofrey Rainey:
> Hi Mark,
>
> Yes i've read that document many times. However still need a few 
> pointers on writing the Login Module and how it integrates with the 
> Callbackhandler to create the popup dialog. I can't really find any 
> comprehensive doco on this.
>
> regards,
> Geoff.
>
> -----Original Message-----
> From: Mark Thomas [mailto:markt@apache.org]
> Sent: Tuesday, 7 July 2009 10:44 a.m.
> To: Tomcat Users List
> Subject: Re: FW: JAAS Realm with JDBC Authentication
>
> Geofrey Rainey wrote:
> > Hello,
> >
> > I'm writing a Login Module to autheniticate users and basing my code

> > on the example provided by Sun whereby the CallBackHandler prompts 
> > users from the command line. However I'd like to do this using the 
> > web
> >
> > server dialog box and JDBC auth to the database.
> >
> > Any ideas would be helpful.
>
> Look at Tomcat's own JAASRealm and DataSourceRealm.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> ==========================================================
> For more information on the Television New Zealand Group, visit us 
> online at tvnz.co.nz 
> ==========================================================
> CAUTION:  This e-mail and any attachment(s) contain information that 
> is intended to be read only by the named recipient(s).  This 
> information is not to be used or stored by any other person and/or
organisation.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

==========================================================
For more information on the Television New Zealand Group, visit us
online at tvnz.co.nz 
==========================================================
CAUTION:  This e-mail and any attachment(s) contain information that
is intended to be read only by the named recipient(s).  This information
is not to be used or stored by any other person and/or organisation.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message