[xwiki-devs] Guide for XWiki Rights Management (XWiki Rev. 6435)

Sergiu Dumitriu sergiu at xwiki.com
Thu Jan 3 11:16:02 CET 2008


Colin Tay wrote:
> Hi All,
> 
> I am currently revising on the rights management on XWiki.
> Instead of using XWiki rights management module, is it possible to use 
> your own rights management module?
> 
> Any guidance would be appreciated.
> 
> Regards,
> Colin
> 

Sure, that's just an interface. Write your own class implementing the 
com.xpn.xwiki.user.api.XWikiRightService interface, and register it by 
writing in xwiki.cfg:

xwiki.authentication.rightsclass=com.package.MyRightsClass

Sergiu


More information about the devs mailing list