Custom authentication plus Realm for just roles?

2004-05-14 Thread Leonard Sitongia
Hi, Could I get some pointers into incorporating my own authentication into Tomcat's container managed security while using a JDBC realm for just the role information? We have a local authentication mechanism that provides an API with a class, for example, that returns a boolean given a

Re: How to write custom authentication method forTomcat as well asweblogic/orion?

2003-02-12 Thread Craig R. McClanahan
On Wed, 12 Feb 2003, Soefara Redzuan wrote: Date: Wed, 12 Feb 2003 14:38:22 +0800 From: Soefara Redzuan [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: How to write custom authentication method forTomcat as well as weblogic/orion

Re: How to write custom authentication method forTomcat as well asweblogic/orion?

2003-02-12 Thread Soefara Redzuan
From: Craig R. McClanahan [EMAIL PROTECTED] Whilst Tomcat's JDBC Realm's are easy to set up and get working, (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html), I'm wondering how easy it might be to write our own authentication mechanism using Filters ? You might want to

How to write custom authentication method forTomcat as well as weblogic/orion?

2003-02-11 Thread Soefara Redzuan
Whilst Tomcat's JDBC Realm's are easy to set up and get working, (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html), I'm wondering how easy it might be to write our own authentication mechanism using Filters ? There are a few reasons for this, 1) We'd like a security mechanism

Custom Authentication/User Principal

2002-02-05 Thread Loo, Jason
I've been successful in creating a custom JDBCRealm and have extended the GenericPrincipal. However, when attempting to pull my principal from the request (request.getUserPrincipal()) and cast to EITHER org.apache.catalina.realm.GenericPrincipal or my custom principal, I get a Class Cast

Custom Authentication

2002-01-22 Thread Ricardo Ramalho
Hi all! ;) I have to migrate a Web Application from Allaire JRun to Tomcat 4.0.1. I have a custom Authentication created by us. How can i use it under TomCat 4.0.1? Information is very non-existant or I'm just to dumb to find it! :)) Another question: Do i have a InitialContext ? If i have

RE: Custom Authentication

2002-01-22 Thread Sergei Batiuk
- From: Ricardo Ramalho [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 22, 2002 2:25 PM To: Tomcat Users List Cc: casa; [EMAIL PROTECTED] Subject: Custom Authentication Hi all! ;) I have to migrate a Web Application from Allaire JRun to Tomcat 4.0.1. I have a custom Authentication created by us

Custom Authentication

2002-01-22 Thread Ricardo Ramalho
Hi ppl! Again It looks like i wasn't very accurate in my first question here... What i wanted to do is something like this: (hope you guys can help) This is my actual Athentication class, with uses BASIC login. import java.lang.*; import java.sql.*; import javax.sql.*; import

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: Custom Authentication

2002-01-22 Thread Luke Studley
. Is it possible to get access to the HttpRequest in the Realm to check for other parameters? Cheers Luke -Original Message- From: Ricardo Ramalho [mailto:[EMAIL PROTECTED]] Sent: 22 January 2002 14:51 To: Tomcat Users List Subject: Custom Authentication Hi ppl! Again It looks

RE: Custom Authentication

2002-01-22 Thread jerry . fang
' Subject: RE: Custom Authentication You need to write your own Realm implementation. Look at the source for the JDBC Realm. On another issue to do with Login - Does anyone know how to pass multiple credentials using a FORM login. E.g. the user needs to input a password and a passphrase

RE: Custom Authentication

2002-01-22 Thread Craig R. McClanahan
On Sat, 22 Jan 2000, Sergei Batiuk wrote: Date: Sat, 22 Jan 2000 16:04:25 +0200 From: Sergei Batiuk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Custom Authentication Hello, If you mean

How to implement custom authentication module in Tomcat?

2001-05-25 Thread Niu, Jean (J.)
I am using Tomcat as a standalone web server. Right now, I want to implement a custom authentication module to protect certain directories. Previously, we already did for the Netscape Enterprise Server 3.6, here are three changes we made in the obj.conf file in the NES server: Init funcs=cookie

Custom authentication mechanism in Tomcat?

2001-02-01 Thread Geoff Taylor
Hi, I'd like to implement a custom authentication mechanism for Tomcat. How should I go about it? OK, so that's a huge question. I'll try and be a bit more specific: I'd like to be able to authenticate users against a database. I'm not afraid of writing the code to do all this, but I'd like

RE: Custom authentication mechanism in Tomcat?

2001-02-01 Thread Vijay Prabhakar
Title: RE: Custom authentication mechanism in Tomcat? I'm currently doing something similar. I have authentication working as an Interceptor. I based it off of the BaseInterceptor class. I just re-wrote the authenticate() method. I suspect that I will need to rewrite part of the context

RE: Custom authentication mechanism in Tomcat?

2001-02-01 Thread Randy Layman
: Custom authentication mechanism in Tomcat? Hi, I'd like to implement a custom authentication mechanism for Tomcat. How should I go about it? OK, so that's a huge question. I'll try and be a bit more specific: I'd like to be able to authenticate users against a database. I'm not afraid of writing

RE: Custom authentication mechanism in Tomcat?

2001-02-01 Thread Randy Layman
would believe that it was part of the standard. Randy -Original Message- From: Geoff [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 01, 2001 11:08 AM To: [EMAIL PROTECTED] Subject: Re: Custom authentication mechanism in Tomcat? From: "Randy Layman" [EMAIL PROTECT

Re: Custom authentication mechanism in Tomcat?

2001-02-01 Thread Geoff
From: "Randy Layman" [EMAIL PROTECTED] Well, the source for Tomcat is open and available, and there is already a class that authenticates against a database (org.apache.tomcat.request.JDBCRealm) that seems like it would probably be a good basis for whatever you are trying to do that it