Sorry for this. My auto-completion put in the wrong dev-list, but it might be interesting for people who want to exchange the
BypassableAccessController by something customized ;-)

Michi

Michael Wechner wrote:
Jonathan Addison wrote:
Dear Michi,

The ninja access controller seems to be working now. I tested it by changing the authorize method in NinjaAccessController.java and providing a custom error message. I have checked in the files in svn.

I had to add lenya.roles and change the bypassable role to the ninja role

you mean

<role name="org.apache.lenya.ac.AccessController"
       shorthand="access-controller"
default-class="org.apache.lenya.ac.impl.BypassableAccessController"/>

within

src/java/org/apache/lenya/lenya.roles

?

Thanks

Michi


in the mobiliar pub to get everything to work without errors. Is there a way to patch lenya.roles instead of copying/reusing the whole file?

I have also just started looking at the ninja specification.

HTH

Jonathan





--
Michael Wechner
Wyona      -   Open Source Content Management   -    Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
[EMAIL PROTECTED]                        [EMAIL PROTECTED]
+41 44 272 91 61


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to