New SAML authentication plugin

Hello there,

I have developed a new SAML 2.0 authenticator based on the OneLogin SAML library (https://github.com/onelogin/java-saml) and would like to move it to xwiki-contrib and eventually publish it to the community.

I know there was a previous plugin, but it didn’t work for me and it was based on library that was deprecated and reached its end of life.

My github id is taksan. Can you please give me access to it?

The current code is at https://github.com/taksan/authenticator-saml-onelogin.

Thank you
Takeuchi

Hi Takeuchi, great news !

I agree with you that there was not much to save in the old authenticator-saml.

Moving repositories to github organization is not very practical and our current setting does not allow non-owner to create repositories (it’s all or nothing from what I can see). So I guess the only solution currently would be for you to transfer it to me (tmortagne) so that I can then move it to the xwiki organization.

I will also create a new project on http://jira.xwiki.org for it when it’s moved. I guess you plan to release it on https://nexus.xwiki.org too ?

There was no way to make it work with the current LTS branch (12.10) ?

You should use parent-platform as parent instead of xwiki-commons-pom these days. See https://github.com/xwiki-contrib/parent/tree/12.10.x for more details.

Also in terms of Java package you should ideally use org.xwiki.contrib prefix for XWiki Contrib projects (instead of com.xwiki which is a XWiki SAS pro thing).

Well, I didn’t even try the LTS. Will git it a shot, I’m pretty sure there’s nothing specific. I will make the changes you requested and then I will transfer the project, no worries.

Thanks

Btw, yes, I plan to release to nexus and make it available to everyone

2 Likes

Hi,

any progress adding this to the community?

Thanks.

Hi Taksan,
Thanks you for the great plugin.
Can I know how to install this SAML plugin. do I need to copy files to any specific folder?

Regards,
Sky