A long time ago I heard that JAFFA has what you need. While it seems to have alot more now, it should have a realm implementation for Tomcat that you should be able to extend.
http://jaffa.sourceforge.net/ I never used it, as I ended up being able to use the available realms, but it was something I made a note of if I needed to make a custom realm. Brian -----Original Message----- From: [EMAIL PROTECTED] To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>, Cc: [EMAIL PROTECTED] Date: Fri, 15 Apr 2005 23:57:43 +0000 Subject: Re: extending the Catalina Realm login > Still hoping for comments on this.... and I'm repeating another > posting that is somewhat similar: > > From: > alebu <[EMAIL PROTECTED]> > To: tomcat-user@jakarta.apache.org > Subject: Developing custom Realm > Date: Fri, 15 Apr 2005 10:37:06 +0000 > > > Hi! > I was searching for any documentation about developing custom Realm > for Tomcat but did'nt found anything. Could someone point me in the > right direction? > > > -------------- Original message ---------------------- > From: [EMAIL PROTECTED] > > Subject: extending the Catalina Realm login > > Date: Fri, 15 Apr 2005 09:21:17 +0000 > > > > > > I'm working on a school project which requires a little bit more > authentication > > than the standard JDBC Realm server/container model and I'd like to > add a method > > or two to the Realm login. > > > > I have found a JSP that seems to write the form that the login > uses.... but I > > can't seem to find the servlet it runs. I'm assuming I'd need to > replace a > > .jar file. > > > > Here's a snippet of the sample logon: > > <title>Login Page for Examples</title> > > <body bgcolor="white"> > > <form method="POST" action='<%= > response.encodeURL("j_security_check") %> > > > > Where is j_security_check ? > > > > Can any one tell me what classes or packages need to be worked on?? > > > > What I want to do is add a method to set an authentication flag after > a user > > logs in. I want a single sign in and also want to know that a user > has been > > authenticated individually. I was thinking of setting the flag in > the User > > Table as a Boolean column, then I'd have the user name, UID, and > boolean flag to > > use in the applications. > > > > I have looked a little at JAAS, but it seems like too much and I also > can not > > add an LDAP server. > > > > Howard D. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]