[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread wats
When I try to use DatabaseServerLoginModule defined in the following local myLogin.conf file | ehelp { | org.jboss.security.auth.spi.DatabaseServerLoginModule required | dsJndiName="java:/PostgresDS" | principalsQuery="select hashedpassword from EMPLOYEES where login=?" | rolesQuery="s

[JBoss-user] [Security & JAAS/JBoss] - Re: standalone EJB client and JASS

2005-09-16 Thread wats
Hello, Thanks jaikiran for your help, but the solution you posted is not what I was looking for. I was using similiar code in my app (ClientLoginModule etc.) and also tested yours, but the authentication seems to work every time, whatever the login/pass values are. If the login information is n

[JBoss-user] [Security & JAAS/JBoss] - standalone EJB client and JASS

2005-09-15 Thread wats
Hello, I'm developing a simple standalone EJB client. I was trying to set up security using JASS, but I encountered some problems with authorization. I tried using DatabaseServerLoginModule, but it seems it is not able to acces the DataSource in the application server. So my question is - is