Seraph SSO Module Ignored by Confluence when Using LDAP/AD?

I'm trying to create a custom SSO module in Seraph. The modual is trivial; it reads existing information available in the request object and returns the username of the previously-authenticated user. For Confluence, it's already a working installation. The users already exist in Confluence, Confluence is set to LDAP integration, and new users are created at first login when they don't exist. Based on the Seraph documentation, I've created a jar with the package in it and put it in the lib directory. I've configured web.xml and seraph-config.xml as specified in the documentation. However based on the log output, the SSO module is never consulted for a login request; I have a number of logging statements at the level of INFO that never appear. Is Seraph bypassed entirely when Confluence is using LDAP integration? Is the Seraph documentation still right for Confluence 5.x?

Thanks in advance.

2 answers

1 accepted

I finally realized that the Seraph documentation is wrong and you have to extend ConfluenceAuthenticator and not DefaultAuthenticator.

0 vote
Davin Studer Community Champion Oct 01, 2013

Are you trying to do NTLM authentication? If so, then I would direct you to the below link.

https://confluence.atlassian.com/display/SPCON/Configuring+Confluence+to+use+Jespa+for+NTLM+Authentication

Not directly. The server-side is Linux + Apache + Tomcat where the Apache service has already performed an authentication based on SPNEGO+Kerberos.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,775 views 26 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you