Re: Custom Realm Implementation

2002-02-01 Thread Dan Kha
Hi, That's because TC 4.0.1 (and 4.0.2b1, but not sure about 4.0.2b2) calls the hasRole() method (in RealmBase) and that method checks to see if the principal is an instance of GenericPrincipal. If not, then access is denied (which I think is what's happening to you). You will need to extend

Re: Custom Authentication

2002-01-22 Thread Dan Kha
Hi Ricardo, See if these help: http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg35338.html http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg41747.html -- Dan Kha Development Team Computing Network Services York University, Toronto, Canada On Tue, 22 Jan 2002

Re: Protected Area

2002-01-11 Thread Dan Kha
Hi David, Yeah, I see your url-pattern line is commented out. It should be something like this... url-pattern/jsp/security/protected/*/url-pattern Hope this helps, dan On Fri, 11 Jan 2002, Herzig, David wrote: Dear Tomcat Users I tried to define a protected area, so I can only

Re: TC4.01: custom Authenticator

2002-01-10 Thread Dan Kha
R. McClanahan wrote: On Wed, 9 Jan 2002, Dan Kha wrote: Date: Wed, 9 Jan 2002 15:54:52 -0500 (EST) From: Dan Kha [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: TC4.01: custom Authenticator Hi, I'm interested in writing my own

TC4.01: custom Authenticator

2002-01-09 Thread Dan Kha
Hi, I'm interested in writing my own Authenticator implementation. My question is, after writing my own implementation, how do I tell Tomcat 4.01 to use my own custom Authenticator (and if possible without changing Tomcat's source)? I know that to use the standard authenticators, I add the

RE: TC4.01: custom Authenticator

2002-01-09 Thread Dan Kha
for your help, Dan On Wed, 9 Jan 2002, Guido Medina wrote: the only you have to do is to inherite the authenticator scheme from Tomcat and re-write the methods...that's all, in the manual is explained how and which class you have to extend... Guido. -Original Message- From: Dan Kha

Re: TC4.01: custom Authenticator

2002-01-09 Thread Dan Kha
Hi Craig, Just what I needed. Thanks so much! As always, you're very helpful! On Wed, 9 Jan 2002, Craig R. McClanahan wrote: On Wed, 9 Jan 2002, Dan Kha wrote: Date: Wed, 9 Jan 2002 15:54:52 -0500 (EST) From: Dan Kha [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED