Custom JDBCRealm

2003-03-21 Thread awc
Hi, I want to add more stuff to user session while user logs in. The only way I see to do this is to write custom JDBCRealm class which extnds org.apache.catalina.realm.JDBCRealm or implement org.apache.catalina.realm.RealmBase class. This custom class will have more initializing parameters too

Creating custom JDBCrealm

2002-01-31 Thread Slapar Jernej
Hi ya all! I'm wondering what classes I would have to override (implement) if I wanted to make a custom Realm? In fact what I'd like to do is add some functionality to existing JDBCrealm... -- To unsubscribe: For additional commands: T

RE: Custom JDBCRealm

2003-03-21 Thread Raible, Matt
; Sent: Friday, March 21, 2003 2:42 PM > To: 'Tomcat Users List' > Subject: Custom JDBCRealm > > > Hi, > > I want to add more stuff to user session while user logs in. The only > way I see to do this is to write custom JDBCRealm class which extnds &g

Re: Custom JDBCRealm

2003-03-21 Thread Carl Maib
rence the necessary objects in catalina.jar. please let me know if you get this solution to work. thanks! - Original Message - From: "awc" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Friday, March 21, 2003 4:41 PM Subj

Re: Custom JDBCRealm

2003-03-21 Thread awc
riginal Message- > > From: awc [mailto:[EMAIL PROTECTED] > > Sent: Friday, March 21, 2003 2:42 PM > > To: 'Tomcat Users List' > > Subject: Custom JDBCRealm > > > > > > Hi, > > > > I want to add more stuff to user session while user logs in

Re: Custom JDBCRealm

2003-03-21 Thread awc
rom: "awc" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Friday, March 21, 2003 4:41 PM > Subject: Custom JDBCRealm > > > Hi, > > > > I want to add more stuff to user session while user logs in. The on

Re: Custom JDBCRealm

2003-03-21 Thread awc
<[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Friday, March 21, 2003 4:41 PM > Subject: Custom JDBCRealm > > > Hi, > > > > I want to add more stuff to user session while user logs in. The on

RE: Custom JDBCRealm

2003-03-21 Thread Raible, Matt
TED] > Sent: Friday, March 21, 2003 3:06 PM > To: Tomcat Users List > Subject: Re: Custom JDBCRealm > > > may be this is dumb question. So do you run two filters? one > for authticate and > to check authorization and other to load the customo objects?? > > Thanks M

RE: Custom JDBCRealm

2003-03-21 Thread Raible, Matt
If you extend a Tomcat class and create your own authenticator - you'll have to add tomcat jars to your project. HTH, Matt > -Original Message- > From: Raible, Matt > Sent: Friday, March 21, 2003 4:12 PM > To: 'Tomcat Users List' > Subject: RE: Custom

Re: Custom JDBCRealm

2003-03-22 Thread Bill Barker
ow if you get this solution to work. thanks! > > - Original Message - > From: "awc" <[EMAIL PROTECTED]> > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > Sent: Friday, March 21, 2003 4:41 PM > Subject: Custom JDBCRealm > >

RE: custom JDBCRealm

2003-03-22 Thread Carl Maib
; - Original Message ----- > > From: "awc" <[EMAIL PROTECTED]> > > To: "'Tomcat Users List'" <[EMAIL PROTECTED]> > > Sent: Friday, March 21, 2003 4:41 PM > > Subject: Custom JDBCRealm > > &g

RE: custom JDBCRealm

2003-03-22 Thread p niemandt
p is not > > > able to reference the necessary objects in catalina.jar. > > > > It needs to be in server/classes, so that it can see the Catalina classes. > > > > > > > > please let me know if you get this solution to work. thanks! > > > > >

Re: custom JDBCRealm

2003-03-22 Thread Carl Maib
d you get desparate, you'll try anything! - Original Message - From: "p niemandt" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Saturday, March 22, 2003 12:54 PM Subject: RE: custom JDBCRealm > Have you tried $CATALINA_HOME/we

Re: custom JDBCRealm

2003-03-22 Thread p niemandt
]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Saturday, March 22, 2003 12:54 PM > Subject: RE: custom JDBCRealm > > > > Have you tried $CATALINA_HOME/webapps/YourWebApp/WEB-INF/classes ? > > > > On Sat, 2003-03-22 at 17:40, Carl Maib w

Re: custom JDBCRealm

2003-03-22 Thread Bill Barker
s in catalina.jar. > > It needs to be in server/classes, so that it can see the Catalina classes. > > > > > please let me know if you get this solution to work. thanks! > > > > - Original Message - > > From: "awc" <[EMAIL PROTECTED]> &

Re: custom JDBCRealm

2003-03-22 Thread James Carman
if it doesn't already exist). - Original Message - From: "Bill Barker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, March 22, 2003 11:45 PM Subject: Re: custom JDBCRealm > In theory, common/{classes, lib} should work, but I've never trie

RE: custom JDBCRealm

2003-03-24 Thread Robert Parker
40PM To: Tomcat Users List Subject: Re: custom JDBCRealm You don't need to implement a custom realm for this. You can use a servlet filter. The userid of the currently logged in user can be accessed via request.getUserPrincipal().getName(). You can use this information to lookup the ot

implementing custom JDBCRealm and programmatic authentication

2003-05-29 Thread jarl.age.aanonsen
I am considering to implement a custom JDBCRealm. It should make available a method such as boolean authenticate(String username) perhaps in a custom Principal class. The method should log in (authenticate) the user and return true, if user exists (with correct roles), false otherwise. Can

Custom JDBCRealm in Tomcat 4.1.x - NoClassDefFoundError

2002-08-25 Thread Robert Parker
Members Equity Email System I'm trying to use a custom JDBCRealm which worked fine in TC4.0.x but is broken in 4.1.x. I get a NoClassDefFoundError: org/apache/catalina/realm/JDBCRealm exception. I found a prior post which indicated this may be due to the use JMX in TC4.1.x and that disablin