You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Arto Pastinen <ar...@canter.fi> on 2004/05/03 11:50:11 UTC
maven, junit and JAAS
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org