Skip to content

Commit

Permalink
auth on all requests
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jul 2, 2010
1 parent 66a4d33 commit 63946e8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/scala/Sbin.scala
Expand Up @@ -91,8 +91,7 @@ class Auth extends Config with unfiltered.Plan {
case _ => Unauthorized ~> WWWAuthenticate("Basic realm=\"/\"")
}
def filter = {
case GET(r) => auth(r)
case POST(r) => auth(r)
case r:javax.servlet.http.HttpServletRequest => auth(r)
}
}

Expand Down

0 comments on commit 63946e8

Please sign in to comment.