[xwiki-users] Custom authenticator how to
Hello, I need to implement a custom headers authenticator for XWiki Enterprise 5.1 (it will essentially be like the authenticator in https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-au...), but I can't figure out how to do this. Can anyone point me in the right direction? The custom authenticator documentation makes it sound trivial, and I'm sure it is, but I don't know how to go about actually implementing XWikiAuthService (or extending XWikiAuthServiceImpl for that matter) since I don't know where these classes are physically located. I'm trying to learn Maven simultaneously and it's pretty overwhelming. I'd rather not have to read an entire Maven guide just to figure out how to extend a class for XWiki. Thanks!
The easiest is generally to start from an existing authenticator. I would suggest you to simply take https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-au... and modify it for you needs either as a new authenticator or as a new version of the generic headers authenticator. On Thu, Sep 12, 2013 at 9:57 PM, Christian Fiddick <[email protected]> wrote:
Hello,
I need to implement a custom headers authenticator for XWiki Enterprise 5.1 (it will essentially be like the authenticator in https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-au...), but I can't figure out how to do this. Can anyone point me in the right direction? The custom authenticator documentation makes it sound trivial, and I'm sure it is, but I don't know how to go about actually implementing XWikiAuthService (or extending XWikiAuthServiceImpl for that matter) since I don't know where these classes are physically located. I'm trying to learn Maven simultaneously and it's pretty overwhelming. I'd rather not have to read an entire Maven guide just to figure out how to extend a class for XWiki.
Thanks! _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
participants (2)
-
Christian Fiddick -
Thomas Mortagne