Re: extending the Catalina Realm login
The following source folder may be of help. /jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/realm /jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator /jakarta-tomcat-5.0.28-src/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/valves/ValveBase.java But before you go changing the source to suit your needs make sure LoginContext for JAAS is not what you are looking for. Scotchy --- [EMAIL PROTECTED] wrote: Subject: extending the Catalina Realm login Date: Fri, 15 Apr 2005 09:21:17 + 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: titleLogin 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] __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 + 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 + 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: titleLogin 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]
Re: extending the Catalina Realm login
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 + 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 + 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 + 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: titleLogin 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]
Re: extending the Catalina Realm login
Sorry to follow-up with myself, but I wanted to let you know that there is something in there. You can check their online javadoc for the package org.jaffa.tomcat.realm Here's a long link: http://jaffa.sourceforge.net/javadoc/2_1_0/org/jaffa/tomcat/realm/package- summary.html I almost used it because I was going to need custom encryption routines for the password, but instead I changed the ERP encryption to one that Tomcat supported. I hope that helps. Brian -Original Message- From: Brian Buchanan [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Date: Fri, 15 Apr 2005 21:31:52 -0400 Subject: Re: extending the Catalina Realm login 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 + 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 + 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 + 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: titleLogin 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]