Coder Social home page Coder Social logo

authentication-extension's People

Contributors

jexp avatar jimwebber avatar maxdemarzi avatar simpsonjulian avatar tbaum avatar thobe avatar tinwelint avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

authentication-extension's Issues

Parsing XML and Binding to a different object

For getting the parsing call parseAndMapToVO method of ParseAndBind with target XML file its XSD and the VO to which it should get mapped to.
As a second step if you want to bind 2 different objects use bean_2_bean_Binding with source object, destination object and a mapping properties file.
This properties file should comprise of mappings as shown below:
Source Bean Property, Dest Bean Property
REGNO=REG_NO (direct mapping to VO properties)
INDNO=nomDet.IND (VO inside a VO)

Neo4j Milestone Release 1.9.RC2 compatibility

Could you please update and share new *.jar for Neo4j Milestone Release 1.9.RC2. It is running under JRE 7 now.
I sent request curl --user user:password http://server_name:7474/auth/listand got response

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<title>Error 500 org.neo4j.kernel.KernelData.properties()Lorg/neo4j/graphdb/PropertyContainer;</title>
</head>
<body><h2>HTTP ERROR 500</h2>
<p>Problem accessing /auth/list. Reason:
<pre>    org.neo4j.kernel.KernelData.properties()Lorg/neo4j/graphdb/PropertyContainer;</pre></p><h3>Caused by:</h3><pre>java
.lang.NoSuchMethodError: org.neo4j.kernel.KernelData.properties()Lorg/neo4j/graphdb/PropertyContainer;
        at org.neo4j.server.extension.auth.MultipleAuthenticationService.getUsers(MultipleAuthenticationService.java:71)
        at org.neo4j.server.extension.auth.AuthenticationResource.listUsers(AuthenticationResource.java:45)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispa
tch(AbstractResourceMethodDispatchProvider.java:205)
        at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatch
er.java:75)
        at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
        at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
        at com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
        at com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:699)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
        at org.neo4j.server.extension.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:57)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
        at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
</pre>
<hr /><i><small>Powered by Jetty://</small></i><br/>
</body>
</html>

P.S. My database was migrated from Neo4j Stable Release 1.8.2.

Spring Data, Neo4j, configure port and path for webadmin.

Hi guys. I have some question about configure neo4j at spring. I have project, where i deploy embeded neo4j server, and configure webadmin server. But sometimes i need hide this webadmin from another users,when i deploying it to server. How can i change port and path for this tools. (db/data and /webadmin).

Server crashes on start v2.0.0-M06

2013-11-20 11:13:50.230+0000 INFO [API] START class org.neo4j.server.extension.
auth.AuthenticationExtensionInitializer
2013-11-20 11:13:50.241+0000 DEBUG [API]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: org/neo4j
/server/plugins/TypedInjectable
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193)
~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86) [neo4j-serv
er-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49) [neo4j-serve
r-2.0.0-M06.jar:2.0.0-M06]
Caused by: java.lang.NoClassDefFoundError: org/neo4j/server/plugins/TypedInjecta
ble
at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.st
art(AuthenticationExtensionInitializer.java:87) ~[authentication-extension-1.9-S
NAPSHOT-1.0-SNAPSHOT.jar:1.9-SNAPSHOT-1.0-SNAPSHOT]
at org.neo4j.server.modules.ExtensionInitializer.initializePackages(Exte
nsionInitializer.java:60) ~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.modules.ThirdPartyJAXRSModule.start(ThirdPartyJAXRSM
odule.java:61) ~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.AbstractNeoServer.startModules(AbstractNeoServer.jav
a:281) ~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:161)
~[neo4j-server-2.0.0-M06.jar:2.0.0-M06]
... 2 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.neo4j.server.plugins.TypedInjec
table
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.7.0_45]
at java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.7.0_45]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0
_45]
at java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.7.0_45]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.7.0_45]
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[na:1.7.0
_45]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.7.0_45]
... 7 common frames omitted
2013-11-20 11:13:50.242+0000 DEBUG [API] Failed to start Neo Server on port [74
74]

Plugin was installed according to instruction, but neo4j shutdown immidiate

Started neo4j (without plugin)

➜  neo4j-community-2.2.2  ./bin/neo4j start                                         
Starting Neo4j Server...WARNING: not changing user
process [15276]... waiting for server to be ready...... OK.
http://localhost:7474/ is ready.

Set username/password

:server change-password
neo4j/neo4j

Stopped neo4j

➜  neo4j-community-2.2.2  ./bin/neo4j stop 
Stopping Neo4j Server [15276].... done

Copied plugin

➜  neo4j-community-2.2.2  ls -la plugins 
total 40
drwxr-xr-x@  4 korel  staff    136 Jul 14 16:50 .
drwxr-xr-x@ 14 korel  staff    476 Jun  8 22:58 ..
-rw-r--r--@  1 korel  staff    273 May 21 16:15 README.txt
-rw-r--r--@  1 korel  staff  14643 Jul 14 16:50 authentication-extension-2.1.5-1.0-SNAPSHOT.jar 

Changed conf/neo4j-server.properties file

conf/neo4j-server.properties

Started neo4j

➜  neo4j-community-2.2.2  ./bin/neo4j start
Starting Neo4j Server...WARNING: not changing user
process [15101]... waiting for server to be ready...... Failed to start within 120 seconds.
Neo4j Server may have failed to start, please check the logs.

Viewed console.log

➜  neo4j-community-2.2.2  tail -f ./data/log/console.log :
2015-07-14 13:53:48.531+0000 INFO  [API] Setting startup timeout to: 120000ms based on 120000
2015-07-14 13:53:50.785+0000 INFO  [API] Successfully started database
2015-07-14 13:53:50.861+0000 INFO  [API] Starting HTTP on port :7474 with 4 threads available
2015-07-14 13:53:51.083+0000 INFO  [API] Enabling HTTPS on port :7473
2015-07-14 13:53:51.198+0000 INFO  [API] Successfully shutdown Neo4j Server.
2015-07-14 13:53:51.228+0000 INFO  [API] Successfully stopped database

Could you help me with it?

Provide description for authentication error in case for POST of RO-user

Would be nice to have a description for auth error, if a read-only user tries to post some data.

Use case: As a RO-user, I want to do a request like this: POST http://127.0.0.1:7474/db/data/node/2/traverse/node. I want to get a description, that I've been authenticated, but can't 'write' data.

Maybe, this would be other HTTP code. 403 for example.

Thanks!

java error with authentication plugin for version 2.0.0-M05

Hi
I tried using the authentication plugin downloaded from the github page (for the 2.0 branch). When I try accessing the web admin with my username & password. I get a java error message:

Is this a version-compatibility issue?

The error message:

Problem accessing /webadmin/. Reason:

java.lang.Boolean cannot be cast to java.lang.String

Caused by:

java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.lang.String
at org.neo4j.server.extension.auth.MultipleAuthenticationService.getCredentials(MultipleAuthenticationService.java:59)
at org.neo4j.server.extension.auth.MultipleAuthenticationService.hasAccess(MultipleAuthenticationService.java:49)
at org.neo4j.server.extension.auth.AuthenticationFilter.checkAuth(AuthenticationFilter.java:74)
at org.neo4j.server.extension.auth.AuthenticationFilter.doFilter(AuthenticationFilter.java:56)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.neo4j.server.guard.GuardingRequestFilter.doFilter(GuardingRequestFilter.java:68)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:440)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:322)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:926)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

migrate to neo4j-contrib

The "neo4j" github organization should only contain projects that are part of the Neo4j distribution (or part of the supporting infrastructure). This project is an open-sourced part of Neo Technology's cloud work, which is generally useful for anyone with a similar need for adding basic auth to Neo4j.

This repository should be forked to "neo4j-contrib".

Spring Data and authentication-extension

Hello.
Do you know guys, if there is a way to use this plugin in conjunction with Spring Data neo4j?
Since spring uses http to connect standalone neo, technically it is not big deal.
Question is, how can I pass user credentials to Spring.
Thanks.

how-to build and install

Hi,

I've tried to install your extension into the neo4j 1.8M07 server.

The steps I've done are the following :

  • download this repository
  • extract
  • run mvn clean package command
  • copy the jar file inside the /plugins directory of the Neo4j server
  • add the necessary lines inside the neo4j.server.properties file
  • restart the server

When trying to go to http://localhost:7474/admin , I have the following error :

HTTP ERROR 503

Problem accessing /admin/. Reason:

    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
Caused by:

javax.servlet.UnavailableException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
    at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415)
    at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458)
    at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
    at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
    at org.mortbay.jetty.Server.doStart(Server.java:224)
    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
    at org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:306)
    at org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:163)
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:227)
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:114)
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:79)
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:46)

It is the first time I use maven to build something in java, so I'm maybe/surely wrong in the steps.

Can someone give me some tips on how to correctly install this extension.

Thank you

Cheers,

Chris

Plugin does not protect Neo4j-community-2.1.5

Hi,

I just installed Neo4j-community-2.1.5, copied the authentication-extension-2.1.5-1.0-SNAPSHOT.jar into the plugins directory and inserted the two config lines into the neo4j-server.properties file.
However, unlike with Neo4j-community-2.1.2 and authentication-extension-2.1.2-1.0, the server does not ask for authentication upon requesting data from Neo4j.

In the logs I see lines related to the plugin, but no errors.

Best

How to get https working?

I've managed to set this up for localhost:7474, but how do I do the same for the ssl port (7473)? I've tried the following:

curl --user admin:admin_password -d "user=readonly:readonly_password" -k https://localhost:7473/auth/add-user-ro

...and this..

curl --user admin:admin_password -k https://localhost:7473/auth/list

..reports the user added to that port, however when I try logging in to https://localhost:7473/browser it doesn't prompt me for the credentials (which it does when I use http://localhost:7474/browser).

Has anyone got this working please?

Plugin doesn't work anymore with Neo4j 2.0.2

I updated today my Debian 7.0.4 64bit (Oracle Java 1.7 51) machine to Neo4j 2.0.2 and can't start Neo4j after the update. When I remove the two lines:

org.neo4j.server.credentials=username:password
org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.auth=/auth

from the server config, the server is starting without any issue but the authentication is gone.
The logfile shows the following exceptions:

console.log
02:38:50.139 [main] INFO  org.neo4j.server.CommunityNeoServer - Setting startup timeout to: 120000ms based on -1
2014-04-15 00:38:51.080+0000 INFO  [API] Successfully started database
2014-04-15 00:38:51.305+0000 INFO  [API] Starting HTTP on port :7474 with 20 threads available
2014-04-15 00:38:51.534+0000 INFO  [API] Mounted discovery module at [/]
2014-04-15 00:38:51.540+0000 INFO  [API] Mounted REST API at [/db/data/]
2014-04-15 00:38:51.543+0000 INFO  [API] Mounted management API at [/db/manage/]
2014-04-15 00:38:51.543+0000 INFO  [API] Mounted third-party JAX-RS package [org.neo4j.server.extension.auth] at [/auth]
2014-04-15 00:38:51.544+0000 INFO  [API] Mounted webadmin at [/webadmin]
2014-04-15 00:38:51.544+0000 INFO  [API] Mounted Neo4j Browser at [/browser]
2014-04-15 00:38:51.590+0000 INFO  [API] Mounting static content at [/webadmin] from [webadmin-html]
2014-04-15 00:38:51.638+0000 INFO  [API] Mounting static content at [/browser] from [browser]
02:38:51.640 [main] WARN  o.e.j.server.handler.ContextHandler - o.e.j.s.ServletContextHandler@1a7035a2{/,null,null} contextPath ends with /
02:38:51.640 [main] WARN  o.e.j.server.handler.ContextHandler - Empty contextPath
02:38:51.642 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.0.5.v20130815
02:38:51.672 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@67697fca{/,null,AVAILABLE}
02:38:51.756 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
02:38:51.768 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@5943bd77{/webadmin,jar:file:/usr/share/neo4j/system/lib/neo4j-server-2.0.2-static-web.jar!/webadmin-html,AVAILABLE}
02:38:52.208 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@36b1f514{/db/manage,null,AVAILABLE}
02:38:52.489 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@44cdd004{/db/data,null,AVAILABLE}
02:38:52.507 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
02:38:52.508 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@9e6e47c{/browser,jar:file:/usr/share/neo4j/system/lib/neo4j-browser-2.0.2.jar!/browser,AVAILABLE}
02:38:52.632 [main] WARN  /auth - unavailable
com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
        at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
02:38:52.634 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED o.e.j.s.ServletContextHandler@4c1802de{/auth,null,STARTING}: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
        at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        ... 21 common frames omitted
02:38:52.634 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.handler.HandlerList@3c6463d9: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
        at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        ... 21 common frames omitted
02:38:52.635 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.Server@62d75a88: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.start(Server.java:342) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.server.Server.doStart(Server.java:290) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
        at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:363) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:166) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:412) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:192) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:103) [neo4j-server-2.0.2.jar:2.0.2]
        at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:57) [neo4j-server-2.0.2.jar:2.0.2]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
        at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
        at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
        at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
        ... 21 common frames omitted
2014-04-15 00:38:52.636+0000 INFO  [API] Failed to start Neo Server on port [7474], reason [javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-286950539@cdf5eca3==org.neo4j.server.web.NeoServletContainer,-1,false]
neo4j.0.0.log
Apr 15, 2014 2:38:51 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
Information: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Apr 15, 2014 2:38:52 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
Information: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Apr 15, 2014 2:38:52 AM com.sun.jersey.api.core.PackagesResourceConfig init
Information: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.extension.auth
Apr 15, 2014 2:38:52 AM com.sun.jersey.api.core.ScanningResourceConfig logClasses
Information: Root resource classes found:
  class org.neo4j.server.extension.auth.AuthenticationResource
Apr 15, 2014 2:38:52 AM com.sun.jersey.api.core.ScanningResourceConfig init
Information: No provider classes found.
Apr 15, 2014 2:38:52 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
Information: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Apr 15, 2014 2:38:52 AM com.sun.jersey.spi.inject.Errors processErrorMessages
Schwerwiegend: The following errors and warnings have been detected with resource and/or provider classes:
  SEVERE: Missing dependency for constructor public org.neo4j.server.extension.auth.AuthenticationResource(org.neo4j.server.extension.auth.MultipleAuthenticationService) at parameter index 0

Has somebody an idea how to fix this?

I don't want to run the Neo4j server without authentication. In the worst case I have to configure a reverse proxy.

server can't start in 2.0.0-RC1

I get the following dialog window when I try to start the server:

Starting Neo4j Server failed: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-1835453513@efd27de2==org.neo4j.server.web.NeoServletContainer,-1,false

/dag

401 HTTP Code when using with neo4j-unmanaged-extension-template using REST API

Hi there,

I got a weird error when using authentication-extensioncombined with neo4j-unmanaged-extension-template

When i'm trying to fetch data via Neo4J REST API, my data are well fetch but new relic logs this error :


/org.neo4j.server.extension. auth. AuthenticationFilter
HttpClientError 401

Instance
neo4j-test(java:My Application:6362)

The weird thing is that my data are good and the response code is HTTP 200 (Success) in my console.

Here is the code i'm using

auth = {:username => "myusername", :password => "mypassword"}
url = "http://neo4j_endpoint:7474/example/service/queries/mycustomquery"

 fetch = HTTParty.post(url, :basic_auth => auth,
 :body => { :id => 1, 
               :limit => 10
              },
               :headers => { 'Content-Type' => 'application/x-www-form-urlencoded' } )

So it's working well but the 401 error is still raised by authentication-extension.

Any idea ?

EDIT : This error is as well raised each time i login the webportal + this one below

/server/console (POST)
HttpClientError 400

Regards,

SSL issues

Maybe this not fully related to authentication-extension, but I`ll describe my situation here.
I have neo4j instance with authentication-extension and SSL support. I use wildcard certificate, for example *.domain.com and try to access neo4j by IP address. Issue is: hostname does not match the server certificate. Can I access neo4j by db.domain.com and use authentication-extension? Or I need somehow configure nginx to use SSL port and then redirect to /auth? Thank you for any help =)

javax.transaction.SystemException: TM has encountered some problem

Hi there,

We put the authentication-extension in our neo4j server and after one hour of running, calling the rest API raised this exception:

javax.transaction.SystemException: TM has encountered some problem, please perform neccesary action (tx recovery/restart)

The only way to avoid this is to restart manually the neo4j server so far.

I already read this a similar problem but it doesn't help for our case :

Any ideas ?

'ErrorMessagesException: null' when starting Neo after adding authentication-extension

Hello.
After downloading authentication-extension-2.1.5-1.0-SNAPSHOT.jar, dropping it into /plugins and adding the 2 config lines to neo4j-server.properties, neo fails to start. Searching in logs file I found the following error. Any clue about what is it happening?
Thanks.

Stacktrace:

2015-01-22 20:47:40.357+0000 INFO  [API] Starting HTTP on port :7474 with 40 threads available
2015-01-22 20:47:40.714+0000 INFO  [API] Enabling HTTPS on port :7473
2015-01-22 20:47:40.921+0000 INFO  [API] Mounted discovery module at [/]
2015-01-22 20:47:40.942+0000 INFO  [API] Mounted REST API at [/db/data/]
2015-01-22 20:47:40.946+0000 INFO  [API] Mounted management API at [/db/manage/]
2015-01-22 20:47:40.947+0000 INFO  [API] Mounted third-party JAX-RS package [org.neo4j.server.extension.auth] at [/auth]
2015-01-22 20:47:40.947+0000 INFO  [API] Mounted webadmin at [/webadmin]
2015-01-22 20:47:40.948+0000 INFO  [API] Mounted Neo4j Browser at [/browser]
2015-01-22 20:47:41.039+0000 INFO  [API] Mounting static content at [/webadmin] from [webadmin-html]
2015-01-22 20:47:41.142+0000 INFO  [API] Mounting static content at [/browser] from [browser]
17:47:41.145 [main] WARN  o.e.j.server.handler.ContextHandler - o.e.j.s.ServletContextHandler@1679cc1{/,null,null} contextPath ends with /
17:47:41.145 [main] WARN  o.e.j.server.handler.ContextHandler - Empty contextPath
17:47:41.147 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.0.5.v20130815
17:47:41.205 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.MovedContextHandler@ed62af{/,null,AVAILABLE}
17:47:41.342 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /webadmin, did not find org.apache.jasper.servlet.JspServlet
17:47:41.360 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@15692fe{/webadmin,jar:file:/usr/share/neo4j/system/lib/neo4j-server-2.1.5-static-web.jar!/webadmin-html,AVAILABLE}
17:47:42.019 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@1f908dd{/db/manage,null,AVAILABLE}
17:47:42.417 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.ServletContextHandler@799078{/db/data,null,AVAILABLE}
17:47:42.442 [main] INFO  o.e.j.w.StandardDescriptorProcessor - NO JSP Support for /browser, did not find org.apache.jasper.servlet.JspServlet
17:47:42.443 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.w.WebAppContext@e02577{/browser,jar:file:/usr/share/neo4j/system/lib/neo4j-browser-2.1.5.jar!/browser,AVAILABLE}
17:47:42.757 [main] WARN  /auth - unavailable
com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
    at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
    at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) [jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:375) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:178) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:432) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:108) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:62) [neo4j-server-2.1.5.jar:2.1.5]
17:47:42.759 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED o.e.j.s.ServletContextHandler@3fdcbf{/auth,null,STARTING}: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:375) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:178) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:432) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:108) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:62) [neo4j-server-2.1.5.jar:2.1.5]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
    at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
    at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    ... 21 common frames omitted
17:47:42.760 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.handler.HandlerList@b5a08d: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.start(Server.java:342) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:290) [jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) [jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:375) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:178) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:432) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:108) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:62) [neo4j-server-2.1.5.jar:2.1.5]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
    at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
    at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    ... 21 common frames omitted
17:47:42.761 [main] WARN  o.e.j.u.component.AbstractLifeCycle - FAILED org.eclipse.jetty.server.Server@3f99c1: javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:563) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:351) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:800) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:288) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:731) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:108) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.start(Server.java:342) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:90) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.server.Server.doStart(Server.java:290) ~[jetty-server-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:69) ~[jetty-util-9.0.5.v20130815.jar:9.0.5.v20130815]
    at org.neo4j.server.web.Jetty9WebServer.startJetty(Jetty9WebServer.java:375) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.web.Jetty9WebServer.start(Jetty9WebServer.java:178) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:432) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:193) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:108) [neo4j-server-2.1.5.jar:2.1.5]
    at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:62) [neo4j-server-2.1.5.jar:2.1.5]
Caused by: com.sun.jersey.spi.inject.Errors$ErrorMessagesException: null
    at com.sun.jersey.spi.inject.Errors.processErrorMessages(Errors.java:170) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.postProcess(Errors.java:136) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.spi.inject.Errors.processWithErrors(Errors.java:199) ~[jersey-core-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:771) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:766) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:488) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:318) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:609) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:210) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:373) ~[jersey-server-1.9.jar:1.9]
    at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:556) ~[jersey-server-1.9.jar:1.9]
    at javax.servlet.GenericServlet.init(GenericServlet.java:244) ~[javax.servlet-3.0.0.v201112011016.jar:na]
    at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:542) ~[jetty-servlet-9.0.5.v20130815.jar:9.0.5.v20130815]
    ... 21 common frames omitted
2015-01-22 20:47:42.761+0000 INFO  [API] Failed to start Neo Server on port [7474], reason [javax.servlet.ServletException: org.neo4j.server.web.NeoServletContainer-15160490@7b7d47b8==org.neo4j.server.web.NeoServletContainer,-1,false]

Doesn't support 2.0

It doesn't seem that this plugin supports 2.0. When I follow the installation instructions, Neo4j fails to start.

NoSuchMethodError: org.neo4j.server.configuration.Configurator.getThirdpartyJaxRsClasses()Ljava/util/Set

I'm trying to set up neo4j on Amazon ECS. The template is failing to pull the Oracle JVM, so I manually installed OpenJDK and neo4j 1.9.2.

Then after installing the authentication extension and restarting neo4j, I get this error:

23:07:19.935 [main] WARN o.neo4j.kernel.EmbeddedGraphDatabase - WARNING! You are using an unsupported Java runtime. Please use Oracle(R) Java(TM) Runtime Environment 7.
7/24/13 11:07:20 PM org.neo4j.server.database.Database INFO: Successfully started database
7/24/13 11:07:20 PM org.neo4j.server.AbstractNeoServer INFO: Starting Neo Server on port [7474] with [20] threads available
7/24/13 11:07:21 PM org.neo4j.server.AbstractNeoServer INFO: Enabling HTTPS on port [7473]
7/24/13 11:07:21 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted discovery module at [/]
7/24/13 11:07:21 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server plugin "CypherPlugin"
7/24/13 11:07:21 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server plugin "GremlinPlugin"
7/24/13 11:07:21 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST API at [/db/data/]
7/24/13 11:07:21 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted management API at [/db/manage/]
7/24/13 11:07:21 PM org.neo4j.server.extension.auth.AuthenticationExtensionInitializer INFO: START class org.neo4j.server.extension.auth.AuthenticationExtensionInitializer
7/24/13 11:07:21 PM org.neo4j.server.CommunityBootstrapper SEVERE:
org.neo4j.server.ServerStartupException: Starting neo server failed, see nested exception.
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:214)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49)
Caused by: java.lang.NoSuchMethodError: org.neo4j.server.configuration.Configurator.getThirdpartyJaxRsClasses()Ljava/util/Set;
at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.getMyMountpoint(AuthenticationExtensionInitializer.java:100)
at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.start(AuthenticationExtensionInitializer.java:81)
at org.neo4j.server.modules.ExtensionInitializer.initializePackages(ExtensionInitializer.java:60)
at org.neo4j.server.modules.ThirdPartyJAXRSModule.start(ThirdPartyJAXRSModule.java:61)
at org.neo4j.server.AbstractNeoServer.startModules(AbstractNeoServer.java:258)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:181)
... 2 more
7/24/13 11:07:21 PM org.neo4j.server.CommunityBootstrapper SEVERE: Failed to start Neo Server on port [7474]

ExtensionInitializer Not Being Called?

Hello,

I'm playing with this extension on OSX 10.8 with Java 1.7u25. Neo4j 1.9.2 was installed via homebrew.

The 'AuthenticationExtensionInitializer' class appears to not be called (at least I don't see any log messages in the server logs). When I start the server up and GET from localhost:7474/auth/list, I get the following error message:

javax.servlet.UnavailableException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:338)
at org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:162)
at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:348)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:183)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49)

Upload jar file

Can you please upload a compiled jar file ready to install?

Thanks!

Login Prompt Issue

I'm having an issue with logging in with a created user.

When I arrive at the log-in prompt and put in my created users credentials, the prompt closes and then re-opens - it won't let me login. It just keeps closing then re-opening the login prompt. However, if I use my admin credentials, it logs in fine and the prompt goes away.
Perhaps due to me running on a non-local host?

Does this Authentication header works when contacting to a neo4j server remotely?

Hello,

Iam new to this neo4j, and i have a scenario where i should give remote access to a neo4j server with credentials.
So iam trying to download jar file
add these 3 lines into neo4j-server.properties
org.neo4j.server.webserver.address=xx.xxx.xx.xx
org.neo4j.server.credentials=username:password
org.neo4j.server.thirdparty_jaxrs_classes=org.neo4j.server.extension.auth=/auth

But when i try http://xx.xxx.xxx.xx:7518/auth
it prompts me for password and username, but when i provide, ideally what i need is it should get browser screen of neo4j, that is what is needed. Does this authentication extension provides that?
I mean i need authentication to be provided to remote server for browser page(http://xx.xxx.xxx.xx:7518/browser) . after correct authentication it should redirect to browser page.
I badly need help in this.
Any pointers would be very helpful.

Thanks
Sreelatha.

Error 503 com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes

Hi,

Using neo4j 1.9.2
I copied the jars file and added the two lines to the neo4j-server.properties file as per the instructions in https://github.com/neo4j-contrib/authentication-extension#basic-auth-filter-extension-for-neo4j-server

I get the following error when I run :

curl --user user:password http://server_name:7474/auth/list

Error 503 com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes

HTTP ERROR 503

Problem accessing /admin/add-user-rw. Reason:

    com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.

Caused by:

javax.servlet.UnavailableException: com.sun.jersey.api.container.ContainerException: The ResourceConfig instance does not contain any root resource classes.
at org.mortbay.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:415)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:458)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.neo4j.server.web.Jetty6WebServer.startJetty(Jetty6WebServer.java:338)
at org.neo4j.server.web.Jetty6WebServer.start(Jetty6WebServer.java:162)
at org.neo4j.server.AbstractNeoServer.startWebServer(AbstractNeoServer.java:348)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:183)
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:86)
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:49)

Powered by Jetty://

Startup error in neo4j-community-2.0.0

Hi, I downloaded the compiled version of the plugin and the I compiled it myself but I still get the same error. any sugestions?

START class org.neo4j.server.extension.auth.AuthenticationExtensionInitializer
2014-01-05 23:58:51.179+0000 DEBUG [API]
org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: Found interface org.neo4j.server.database.Database, but class was expected
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:209) ~[neo4j-server-2.0.0.jar:2.0.0]
at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) [neo4j-server-2.0.0.jar:2.0.0]
at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) [neo4j-server-2.0.0.jar:2.0.0]
Caused by: java.lang.IncompatibleClassChangeError: Found interface org.neo4j.server.database.Database, but class was expected
at org.neo4j.server.extension.auth.AuthenticationExtensionInitializer.start(AuthenticationExtensionInitializer.java:77) ~[authentication-extension-1.9.2-1.0-SNAPSHOT.jar:1.9.2-1.0-SNAPSHOT]
at org.neo4j.server.modules.ExtensionInitializer.initializePackages(ExtensionInitializer.java:60) ~[neo4j-server-2.0.0.jar:2.0.0]
at org.neo4j.server.modules.ThirdPartyJAXRSModule.start(ThirdPartyJAXRSModule.java:61) ~[neo4j-server-2.0.0.jar:2.0.0]
at org.neo4j.server.AbstractNeoServer.startModules(AbstractNeoServer.java:296) ~[neo4j-server-2.0.0.jar:2.0.0]
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:174) ~[neo4j-server-2.0.0.jar:2.0.0]
... 2 common frames omitted
2014-01-05 23:58:51.180+0000 DEBUG [API] Failed to start Neo Server on port [7474]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.