6 Replies Latest reply on Jul 13, 2004 2:56 AM by FAILLON Aurelien

    (JBoss and JAAS)'s newbie...

    FAILLON Aurelien Newbie

      Hi everyone,

      (excuse my poor english... I'm french)
      I'm a beginner in JBoss and JAAS and I want to use JAAS to connect an appli client to a JBoss server but I don't understand how to tell to the appli to what I want to coonect... and all appli I've made give me error like that:

      java.lang.SecurityException: Impossible de trouver une configuration de connexion
      at com.sun.security.auth.login.ConfigFile.(Unknown Source)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
      at java.lang.reflect.Constructor.newInstance(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at javax.security.auth.login.Configuration$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.Configuration.getConfiguration(Unknown Source)
      at javax.security.auth.login.LoginContext$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.security.auth.login.LoginContext.init(Unknown Source)
      at javax.security.auth.login.LoginContext.(Unknown Source)
      at Client.init(Client.java:180)
      at Client.main(Client.java:96)
      Caused by: java.io.IOException: Impossible de trouver une configuration de connexion
      at com.sun.security.auth.login.ConfigFile.init(Unknown Source)
      ... 16 more
      Exception in thread "main"

      can you tell me why?