@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#JDBCR
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#JDBCRealm
You might not need to learn about JAAS if all you want is sim
If your using Tomcat 5.5.x, then this may help:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html#JAASRealm
/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 pe
-Original Message-
From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED]
Sent: Monday, August 08, 2005 12:32 AM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Login with authentication from database
Thanks Laurie!
I have quite a few Struts and Tomcat books. What I wonder is
I have seen this done in webshpere 5.x application server where you can create
a custom security provider that acts as a stand-in for your J2EE security
provider. This custom provider can authenticate principals, groups and users
in groups to any data source.
Sorry, can't speak for tomcat.
Ga
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 de
Thanks Laurie!
I have quite a few Struts and Tomcat books. What I wonder is exactly
where to set up JAAS. That's because I might have more than one app in
the same Tomcat5 server. So I wonder if for each database/application I
could configure JAAS separately, that is can I do it only within on
C.F. Scheidecker Antunes wrote:
I am learning my ways through Struts having done Servlets and JSPs
before. In order to have authentication functionalities with my Servlets
I used to have a user table and a roles table. Once the user logs in
he/she would be authenticated with the user name, pass
Hi,
look in the documention of your Web Container how to configure JAAS.
Most of the container, such as Jetty, come with a JDBC JAAS Login
module ready to use.
Cheers,
Daniel
On 7 Aug 2005, at 22:53, C.F. Scheidecker Antunes wrote:
Hello all,
I am learning my ways through Struts having
Hello all,
I am learning my ways through Struts having done Servlets and JSPs
before. In order to have authentication functionalities with my Servlets
I used to have a user table and a roles table. Once the user logs in
he/she would be authenticated with the user name, password through
Tomcat
10 matches
Mail list logo