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

0 votes
Accepted answer

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

0 votes
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.

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
Community showcase
Published Nov 29, 2018 in New to Confluence

How to use Confluence Cloud for stakeholder management

Most of us don’t need much convincing that stakeholder management is important. It just makes sense that keeping everyone in-the-know on projects and assigning clearly defined roles is key to having ...

1,187 views 4 6
Read article

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