Confluence is part of a larger system. Users already login to the Apache Http WEB server to authenticate and see specific static pages. Is there a way I can propagate that identity to Confluence, so users don't need to login again?
IIRC that sample code gets the user from a header request. It's a very minor change to get it to read the authenticated user name from the request.
We do it exactly the way you describe in your bullets, works fine. We only use mod_jk for the login page, but that's up to you.
Mybe this plugin can help you to achieve what you need:
Could you please check it and let me know if it helps?
You can access Confluence using the variables os_username and os_password directly in the URL to login into Confluence.
When admin is the username and 12345 the password.
So you may use the username and password typed by the user - using Apache Authenticator - and with .htaccess file you can redirect the user to the proper URL.
Hope it helps! :)
I think differently. Here is theory how it could work:
So it boils down to someone writing a sample (or does one exist already?) how to use the Tomcat user in Confluence. Doesn't sound like a bad usecase.
Then all variations of authentication (2 factor, OpenID and whathaveyou) can be delegated to either Tomcat or Apache.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG