Hi

Also you might want to look at SecurityFilter
(http://securityfilter.sourceforge.net/). It is an easy to use
implementation of the mentioned below (JDBCReal, JAAS).

Hermod

-----Opprinnelig melding-----
Fra: Bill Schneider [mailto:[EMAIL PROTECTED]
Sendt: 8. august 2005 15:05
Til: user@struts.apache.org
Emne: Re: Login with authentication from database


If you're specifically interested in authentication from a database 
(tables for users, roles and mappings), and using Tomcat, the JDBCRealm 
is the way to go:

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JDBCRea
lm

You might not need to learn about JAAS if all you want is simple 
form-based username/password authentication.

-- Bill

>> If your using Tomcat 5.5.x, then this may help:
>>
>>
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRea
lm 
>>
>>
>>
>> /robert
>>
>> Laurie Harper wrote:
>>
>>> I haven't used container managed security very much but I think the 
>>> way you'd do that is to set up multiple security realms in Tomcat 
>>> (one per application or one per database) and then configure your 
>>> security constraints in the web.xml for each application. Your
Tomcat 
>>> books should have more details on how to do that than I can provide 
>>> I'm afraid...
>>>
>>> L.
>>>

-- 
Bill Schneider
Chief Architect

Vecna Technologies
5004 Lehigh Rd.
College Park, MD 20740
[EMAIL PROTECTED]
t: 301-864-7253 x1140
f: 301-699-3180


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to