Ok, if someone interested, i must add: maven.junit.jvmargs=-Djava.security.auth.login.config=test.conf to project.properties, instead definind that in command line.
On Mon, 2004-05-03 at 13:14, Arto Pastinen wrote: > Hi! > > Is someone made junit test case which try to login by using JAAS? > I try to call maven with following: > maven -Djava.security.manager > -Djava.security.auth.login.config=/home/artsi/workspace/server/test.conf > test > > But i still got: > Testcase: test(fi.canter.ams.JAASLoginTest): Caused an ERROR > Unable to locate a login configuration > java.lang.SecurityException: Unable to locate a login configuration > at > com.sun.security.auth.login.ConfigFile.<init>(ConfigFile.java:97) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > .... > > Artsi > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]