I'm using JAAS with tomcat and it's not incredibly well supported, if at all. I'm not sure if it's the same as what you are talking about. I am using org.apache.catalina.realm.JAASRealm, configured in my tomcat's server.xml.
Since I am using container-managed authentication, there is no need for struts to do anything. Struts only ever receives authenticated requests since tomcat sorts that out before letting any through.
Adam
On 09/22/2003 05:49 AM Keith Pemberton wrote:
I'm having a bit of trouble trying to login to a Database Realm that I
have setup with JBoss. What I would like to do is to be able to login
to the JAAS SecurityManager using a LoginAction. How is the best way to
go about this. I have tried just doing it by calling the LoginContext
login method after having passed the LoginModule and CallbackHandler. Do I need to create a specialized ActionServlet to do this? What are
all the important things that I should know on how to authenticate users
by using a Struts Action class? Thanks in advance for your tips!
Keith Pemberton
-- struts 1.1 + tomcat 4.1.27 + java 1.4.2 Linux 2.4.20 RH9
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]