According to:
http://scala-tools.org/mvnsites-snapshots/liftweb/lift-base/lift-webkit/scaladocs/net/liftweb/http/LiftRules$object.html#httpAuthProtectedResource
It says that if I have a rule that responds with Empty, it means that
authentications is performed, but not an authorization check. This is
what I need. So, I have a rule something like:
LiftRules.httpAuthProtectedResource.append {
case req : Req => req.path match {
case ParsePath("restricted" :: _, _, _, _) => restrictedRole
case _ => Empty
}
}
Alas, I can clearly see that my authentication is NOT being performed
for just any page.
Am I missing something, or is the documentation incorrect, or is this
a bug? Note that I am using 2.0-M1.
--
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en.