[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] Unable to find LoginModule class, how to solve it?
|
Hi,
I developed a login module and configure it following Jetty/Tutorial/JAAS. When I try to log in from my web login page, i got the following error and my page is directed to the login error page:
WARN:oejpj.JAASLoginService:
javax.security.auth.login.LoginException: unable to find LoginModule class: <my login module class>
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at org.eclipse.jetty.plus.jaas.JAASLoginService.login(JAASLoginService.java:217)
at org.eclipse.jetty.security.authentication.FormAuthenticator.validateRequest(FormAuthenticator.java:184)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:442)
....
I tried to deploy my login module to ${jetty_home/lib, but not succeed.
Your help is appreciated.
Jetty version: jetty-distribution-8.0.1.v20110908