Advertisement
Guest User

Untitled

a guest
Oct 25th, 2016
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.59 KB | None | 0 0
  1. java.lang.AbstractMethodError: org.eclipse.jetty.jaas.JAASLoginService.login(Ljava/lang/String;Ljava/lang/Object;)Lorg/eclipse/jetty/server/UserIdentity;
  2. at org.eclipse.jetty.security.authentication.LoginAuthenticator.login(LoginAuthenticator.java:61)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  3. at org.eclipse.jetty.security.authentication.BasicAuthenticator.validateRequest(BasicAuthenticator.java:92)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  4. at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:512)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  5. at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  6. at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  7. at org.eclipse.jetty.server.Server.handle(Server.java:499)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  8. at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  9. at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  10. at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  11. at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  12. at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)[jetty-all-9.2.13.v20150730.jar:9.2.13.v20150730]
  13. at java.lang.Thread.run(Thread.java:745)[:1.8.0_101]
  14.  
  15. LDAPLogin {
  16. org.apache.activemq.jaas.LDAPLoginModule required
  17. debug=true
  18. initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
  19. connectionURL="ldap://ldap.forumsys.com:389"
  20. connectionUsername="cn=read-only-admin,dc=example,dc=com"
  21. connectionPassword=password
  22. connectionProtocol=""
  23. authentication=simple
  24. userBase="dc=example,dc=com"
  25. userSearchMatching="(uid={0})"
  26. userSearchSubtree=false
  27. roleBase="dc=example,dc=com"
  28. roleName=ou
  29. roleSearchMatching="(ou=scientists)"
  30. roleSearchSubtree=false
  31. ;
  32. };
  33.  
  34. <bean id="ldapLoginService" class="org.eclipse.jetty.jaas.JAASLoginService">
  35. <property name="name" value="LdapRealm" />
  36. <property name="loginModuleName" value="LDAPLogin" />
  37. <property name="roleClassNames" value="org.eclipse.jetty.jaas.JAASRole" />
  38. <property name="identityService" ref="identityService" />
  39. </bean>
  40.  
  41. <bean id="securityConstraint" class="org.eclipse.jetty.util.security.Constraint">
  42. <property name="name" value="BASIC" />
  43. <property name="roles" value="scientists" />
  44.  
  45. <property name="authenticate" value="true" />
  46. </bean>
  47.  
  48. <bean id="securityHandler" class="org.eclipse.jetty.security.ConstraintSecurityHandler">
  49. <property name="loginService" ref="ldapLoginService" />
  50. <property name="identityService" ref="identityService" />
  51. <property name="realmName" value="LdapRealm" />
  52. <property name="authenticator">
  53. <bean class="org.eclipse.jetty.security.authentication.BasicAuthenticator" />
  54. </property>
  55. <property name="constraintMappings">
  56. <list>
  57. <ref bean="adminSecurityConstraintMapping" />
  58. <ref bean="securityConstraintMapping" />
  59. </list>
  60. </property>
  61. <property name="handler" ref="secHandlerCollection" />
  62. </bean>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement