Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
Does anyone know if it is possible to bypass the requirement to have user roles defined within a table in the JDBC Realm? Reason being is that I have an app where all users need to be standard, and I have scripts and other apps creating the users, therefore bypassing the user role definition

AW: Bypassing user role assignment???

2002-06-04 Thread Ralph Einfeldt
The only way I see, is to create your own realm by extending JDBC Realm and overriding the hasRole() method. -Ursprüngliche Nachricht- Von: Geoff Peters [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 4. Juni 2002 13:19 An: [EMAIL PROTECTED] Betreff: Bypassing user role assignment

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
So it isn't possible to set a default role for everyone at login with a parameter in the web.xml file? -Original Message- From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Sent: June 4, 2002 8:34 AM To: Tomcat Users List Subject: AW: Bypassing user role assignment??? The only way I see

RE: Bypassing user role assignment???

2002-06-04 Thread Barney Hamish
to change anything or rewrite the hasRole() method. -Original Message- From: Geoff Peters [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 04, 2002 1:36 PM To: Tomcat Users List Subject: RE: Bypassing user role assignment??? So it isn't possible to set a default role for everyone at login

RE: Bypassing user role assignment???

2002-06-04 Thread Geoff Peters
]] Sent: June 4, 2002 8:47 AM To: 'Tomcat Users List' Subject: RE: Bypassing user role assignment??? Why don't you set the user roles table to be the same as the users table. Have a user_role field in the users table with a default value default role or something. That way when you create a new

Re: Bypassing user role assignment???

2002-06-04 Thread Ben Walding
97 (yuck) Thanks again, Geoff -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: June 4, 2002 8:47 AM To: 'Tomcat Users List' Subject: RE: Bypassing user role assignment??? Why don't you set the user roles table to be the same as the users table. Have a user_role