fixed all deprecations execept in grizzly code

This commit is contained in:
Jonas Bonér 2010-03-29 10:04:38 +02:00
parent 5ec114460c
commit 440f0161e5
9 changed files with 20 additions and 25 deletions

View file

@ -18,7 +18,7 @@ import sample.lift.{PersistentSimpleService, SimpleService}
* A class that's instantiated early and run. It allows the application
* to modify lift's environment
*/
class Boot {
class Boot extends Logging {
def boot {
// where to search snippet
LiftRules.addToPackages("sample.lift")
@ -29,7 +29,7 @@ class Boot {
LiftRules.authentication = HttpBasicAuthentication("lift") {
case ("someuser", "1234", req) => {
Log.info("You are now authenticated !")
log.info("You are now authenticated !")
userRoles(AuthRole("admin"))
true
}