changed config element name

This commit is contained in:
Jonas Bonér 2010-12-22 08:07:26 +01:00
parent b27993517d
commit c6376b0159
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ class AkkaRestServlet extends ServletContainer {
val initParams = new java.util.HashMap[String,String]
addInitParameter("com.sun.jersey.config.property.packages", c.getList("akka.http.resource_packages").mkString(";"))
addInitParameter("com.sun.jersey.config.property.packages", c.getList("akka.http.resource-packages").mkString(";"))
addInitParameter("com.sun.jersey.spi.container.ResourceFilters",c.getList("akka.http.filters").mkString(","))
/**

View file

@ -90,7 +90,7 @@ akka {
#If you are using akka.http.AkkaRestServlet
filters = ["se.scalablesolutions.akka.security.AkkaSecurityFilterFactory"] # List with all jersey filters to use
resource_packages = ["sample.rest.scala",
resource-packages = ["sample.rest.scala",
"sample.rest.java",
"sample.security"] # List with all resource packages for your Jersey services
authenticator = "sample.security.BasicAuthenticationService" # The authentication service to use. Need to be overridden (sample now)