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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

800 views 23 12
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