PROTECTED]
Sent: Tuesday, October 07, 2003 7:26 AM
To: Struts Users Mailing List
Subject: RE: Container-Managed Authentication login-config in web.xml
vs . Specifying Paths in the struts-config.xml
But, I do not want to use BASIC authentication. I
have many different roles and hundreds of people
Caroline Jen wrote:
But, I do not want to use BASIC authentication. I
have many different roles and hundreds of people per
role. Users' name, role, etc. are stored in a
database.
How authentication is performed (BASIC, form-based, DIGEST, or SSL
client certificates) and how users are stored
People answer questions without reading my original
post. Therefore, I must re-type my original question
again.
Before I posted my question, I had configured the
Tomcat JDBCRealm following the instructions at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html
so that I can do
: Container-Managed Authentication login-config in web.xml
vs . Specifying Paths in the struts-config.xml
People answer questions without reading my original
post. Therefore, I must re-type my original question
again.
Before I posted my question, I had configured the
Tomcat JDBCRealm following
Logical paths work fine for me in web.xml (using tomcat 4.1.x):
login-config
auth-methodFORM/auth-method
form-login-config
form-login-page
/do/login/edit
/form-login-page
form-error-page
/do/login/fail
/form-error-page
Thanks a lot, Andrew. I got the idea.
--- Andrew Shirk [EMAIL PROTECTED] wrote:
Logical paths work fine for me in web.xml (using
tomcat 4.1.x):
login-config
auth-methodFORM/auth-method
form-login-config
form-login-page
/do/login/edit
A JDBCRealm can use BASIC authentication - it doesn't require form-based.
Here's an example app that might help you out:
http://raibledesigns.com/wiki/Wiki.jsp?page=SecurityExample
HTH,
Matt
-Original Message-
From: Caroline Jen [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2003
Hi Caroline,
if I remember correctly, it is not possible to use Action servlet
mappings for the login and error pages in tomcat.
I do know for sure that it is recommended practice to keep those pages
seperate programmatically and to view them as part of the container
rather than part of your
But, I do not want to use BASIC authentication. I
have many different roles and hundreds of people per
role. Users' name, role, etc. are stored in a
database.
--- Matt Raible [EMAIL PROTECTED] wrote:
A JDBCRealm can use BASIC authentication - it
doesn't require form-based.
Here's an example
9 matches
Mail list logo