Re: realm configuration

2005-03-02 Thread Nathan Coast
thanks for your suggestions, I started to dig around in the code, and also looked at a jaas login module from jboss. the jboss solution is to have a login module that takes two parameters (queries) 1) to return credentials for a username 2) to return the rolenames for a username this is exactly

RE: realm configuration

2005-03-02 Thread Mark Benussi
That sql isn't mysql specific. Should work for you fine. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 12:33 To: Tomcat Users List Subject: Re: realm configuration I guess (I don't use mysql) -Tim Mark Benussi wrote: > Just done this

Re: realm configuration

2005-03-02 Thread Tim Funk
Y AND ROLES.DATA_KEY = RLTNS.SECONDARY_KEY ORDER BY USER_NAME, ROLE_NAME Unfortunately looks like I may have to update my version of mysql to 5.??? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 11:24 To: Tomcat Users List Subject: Re: realm configuration Use a view

RE: realm configuration

2005-03-02 Thread Mark Benussi
, ROLE_NAME Unfortunately looks like I may have to update my version of mysql to 5.??? -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 11:24 To: Tomcat Users List Subject: Re: realm configuration Use a view -Tim Nathan Coast wrote: > Hi, > > I

Re: realm configuration

2005-03-02 Thread Tim Funk
Use a view -Tim Nathan Coast wrote: Hi, I have the following db structure for my user / role tables: User User-Role Role -- --- -- id -- user_id usernamerold_id --- id passwordrolename Is there a re

realm configuration

2005-03-02 Thread Nathan Coast
Hi, I have the following db structure for my user / role tables: User User-Role Role -- --- -- id -- user_id usernamerold_id --- id passwordrolename Is there a realm implementation that support this

Re: Realm configuration not working

2004-08-05 Thread Ruth, Brice
Dennis Dai wrote: On 8/5/2004 9:26 AM, Ruth, Brice wrote: Greetings! I've recently decided to take advantage of Tomcat's authentication mechanism, however, it doesn't appear to be working for me. I've configured a Realm in my context (through the admin tool). It is a DataSourceRealm. When I've

Re: Realm configuration not working

2004-08-05 Thread Dennis Dai
On 8/5/2004 9:26 AM, Ruth, Brice wrote: Greetings! I've recently decided to take advantage of Tomcat's authentication mechanism, however, it doesn't appear to be working for me. I've configured a Realm in my context (through the admin tool). It is a DataSourceRealm. When I've tested everything,

Realm configuration not working

2004-08-05 Thread Ruth, Brice
Greetings! I've recently decided to take advantage of Tomcat's authentication mechanism, however, it doesn't appear to be working for me. I've configured a Realm in my context (through the admin tool). It is a DataSourceRealm. When I've tested everything, I keep getting pushed out to the error

4.1 JNDI Realm configuration docs error

2004-06-02 Thread Simeon Walker
Hi, I have just managed to setup Tomcat 4.1.30 with LDAP authentication, including the retrieval of roles. Following the docs here: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JNDIRealm I put brackets in the roleSearch attribute like this: roleSearch="(uniqueMember={0})" T

Re: Realm configuration in jsp

2002-03-15 Thread Fabien Nisol
To: Tomcat Users List <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Realm configuration in jsp > > > > Hello all ! > > > > I'm currently developping a web application under tomcat, and I've a > > question for you all. > > Like

Re: Realm configuration in jsp

2002-03-15 Thread Craig R. McClanahan
On Fri, 15 Mar 2002 [EMAIL PROTECTED] wrote: > Date: Fri, 15 Mar 2002 11:40:02 -0500 > From: [EMAIL PROTECTED] > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Realm configuration in jsp > > Hello all ! > > I'm current

Realm configuration in jsp

2002-03-15 Thread Nisol . Fabien
ion force me to define JNDI resources that are clones of realm entries defined in server.xml, which I dislike (if you change something in realm configuration, don't forget to change it in Realm Write Access properties) My Question: How to get the Realm configuration used in the current