changed config element name
This commit is contained in:
parent
b27993517d
commit
c6376b0159
2 changed files with 2 additions and 2 deletions
|
|
@ -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(","))
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue