Wednesday, January 13, 2010

Enhanced RADIUS Authenticator for Confluence

Recently I was looking into authenticating against a RADIUS server from Confluence, and luckily I found some previous work to build on.

While it may soon be deprecated, and I don't yet understand how this can be integrated as a plugin, it still does the job, except that I needed some extras:

  • An authentication cache

  • User creation at the first login

  • Default initial group assignment when a user is being created


I have implemented these features on top of the existing sources, and made it configurable

<init-param>
<param-name>radiusauth.cachesize</param-name>
<param-value>SIZE you need (int, e.g. 100)</param-value>
</init-param>
<init-param>
<param-name>radiusauth.initialgroups</param-name>
<param-value>Initial groups (comma separated list e.g. confluence-users,staff-users)</param-value>
</init-param>

Maybe this is useful to somebody, so I make it available here.

Enjoy...

0 comments:

Post a Comment