[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-08-10 Thread hakim55
Dear Colleague I am really pissed off with this security program in tahe top entry by mr Scott. I have trying 3 weeks on it. error after error. finaly it compiles, deploys but again error once the jndi is not specified ok now but the error in the login-conf and the same as yours but it

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-08-04 Thread jaikiran
Hi, Thanks a lot for the above suggestions. I tried out: anonymous wrote : final String authFile = jar:file:myConf.jar!/com/mycompany/auth.conf; | System.setProperty(java.security.auth.login.config, authFile); and it worked. I have a constraint that i cannot accept the

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-08-03 Thread benoitx
You can try to give the URL to the myConf.conf file if you include it in your jar: | final String authFile = jar:file:myConf.jar!/com/mycompany/auth.conf; | System.setProperty(java.security.auth.login.config, authFile); | For some reason that does not seem to work for the

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-08-03 Thread niwhsa
Yes this is a pretty common thing to do when you first start off with JAAS. I did the same too. I use the -D argument to the java command as below java -Djava.security.auth.login.config=conf/auth.conf MAIN_CLASS This need to be under the current directory. View the original post :

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-21 Thread jaikiran
Just out of curiosity, wanted to know, whether this is a common known problem. Has anyone faced this problem while running a standalone client and trying to do a JAAS login to access some ejb resource. If yes, is creating your own implementation of Configuration the only solution to this?

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-19 Thread tcherel
I do not believe that the default sun implementation is searching through the classpath to find the JAAS config file (see http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/spec/com/sun/security/auth/login/ConfigFile.html). But you should be able to programmatically define your own JAAS

[JBoss-user] [Security JAAS/JBoss] - Re: Configuration file for Loging modules NOT found

2005-07-19 Thread jaikiran
Hi Thomas, Thanks for the links. Will try to implement my own Configuration. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3885506#3885506 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3885506