[JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-26 Thread Ionel Gardais
Hi, After succeded in configuring JBoss to auth my users via the UsersRolesLoginModule, I'm trying to use the DatabaseServerLoginModule. I modified the login-config.xml to match my needs : java:/PasswordDS select Password from Principals where Pr

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-26 Thread Scott M Stark
t; <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 26, 2002 7:34 AM Subject: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule > Hi, > > After succeded in configuring JBoss to auth my users via the > UsersRoles

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Ionel Gardais
Hi, I found that the module-option's are not used by the authentication policy. For testing this, I have voluntarly change the principalsQuery from : select Password from Principals where PrincipalID=? to select Password from Princiipals where PrincipalID=? After restarting JBo

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Marcus Ahnve
We had a similar problem that we solved just this morning. Our problem was the naming of the db service. The 'Jndi-Name' was set to the same name as all other 'name's in the service file and that screwed things up for some reason, even though the logs and the MBean Viewer stated that it deployed a

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Ionel Gardais
Hi, the only solution which works (Marcus Ahnve helps me) was to override the java:/DefaultDS with my own database connection. This is not a true customisation of the dsJndiName. Scott M Stark wrote: > You already have by > java:/PasswordDS > > You have to validate that java:/PasswordDS actua

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-27 Thread Scott M Stark
: "Ionel Gardais" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002 2:42 AM Subject: Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule > Hi, > > I found that the module-option's are not used by the au

Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-28 Thread Ionel Gardais
Hi Scott, You were right. I deleted the last '/' in the opening login-module tag and added a closing tag after the module-option tags. I'm really sorry to have missed this and take your time. As I told in another post (Subject: [JBoss-user] retrieving role via DatabaseLoginModule / Date: Thu,

[SOLVED] Re: [JBoss-user] specifiing the datasource jndi name for the DatabaseServerLoginModule

2002-06-28 Thread Ionel Gardais
Hi all, First thanks for your precious help. The two main problems was : - a badly closed xml tag - a not-needed Primary key in the Roles table Hope this can help other in finding the light. Once again, thanks a lot, ionel --- This sf.ne