fixed all deprecations execept in grizzly code
This commit is contained in:
parent
5ec114460c
commit
440f0161e5
9 changed files with 20 additions and 25 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue