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
Answer accepted

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.

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,326 views 2 13
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