0 Replies Latest reply on Sep 23, 2004 11:05 AM by darknight

    Datasource bound only for ejbs?

    darknight

      I have added my own DS to my jboss installation, when I tried it with ejbs it seemed to work, also it appears in the web console and is listed at startup among the deployed stuff.
      Now I'm using it with JAAS and I get this error:

      Login failed
      javax.security.auth.login.LoginException: javax.naming.NameNotFoundException: BdaTestDS not bound
       at bda.beans.jaas.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:90)
       at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:156)
      (long trace follows)


      I've made my own login module deriving the default database module and the two are really almost the same.

      Please! If anyone can help it wold be great, it's been days since the last progress on this problem...