On 03/02/2011 07:17 PM, Kevin P. Foote wrote:
Hi all,
I'm trying to extend the XWikiAuthServiceImpl as described here[1][2] to
make use of local SSO.
Here are the steps I'm following but xwiki will not startup.. Do I have
somethings out of place in my steps?
1. Place my jar in ${XWIKI_HOME}/WEB-INF/lib jar named org.my.authenticator
2. Edit ${XWIKI_HOME/WEB-INF/xwiki.cfg inserting
xwiki.authentication.authclass=org.my.authenticator.UserAuth
3. Start xwiki .. this fails!
Can you provide a stacktrace with more details?
Do I have the jar in the correct place?
Yes.
Do I need to tell xwiki to enable the use of this
"new" jar?
Jars don't need to be registered, but the authenticator does (which you
did, step 2 abouve).
My code does not do anything of importance right now..
It gets a Log
object and writes one entry.
Can't help more without a stacktrace...
--
Sergiu Dumitriu
http://purl.org/net/sergiu/