Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Unable to find LoginModule class, how to solve it?

if I add my login module jar with "-Dpath" in the command line as the following:
java -Dpath=jars/org.planner.security-1.0.0-SNAPSHOT.jar -Djava.security.auth.login.config=file://D:/projects/ap/jetty-distribution-8.0.1.v20110908/conf/jaas.conf -jar start.jar

it works well.

but if I simply copy the jar to jetty's lib directory and runs Jetty without the "-Dpath", it cannot work. I still get "javax.security.auth.login.LoginException: unable to find LoginModule class: org.planner.security.jaas.spi.MyLoginModule"


Back to the top