{"id":38,"date":"2010-08-15T14:22:22","date_gmt":"2010-08-15T21:22:22","guid":{"rendered":"http:\/\/blog.jbrowne.com\/?p=38"},"modified":"2010-08-15T14:22:22","modified_gmt":"2010-08-15T21:22:22","slug":"atlassian-crowd-apache-and-cookie-based-authentication","status":"publish","type":"post","link":"https:\/\/blog.jbrowne.com\/?p=38","title":{"rendered":"Atlassian Crowd, Apache, and cookie-based authentication"},"content":{"rendered":"<p>We and some of our customers use Atlassian&#8217;s <a href=\"http:\/\/confluence.atlassian.com\/display\/CROWD\">Crowd<\/a> as a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Single_sign-on\">SSO<\/a> solution.\u00a0 I was surprised to find that Atlassian does not provide code to enable Apache to use cookie-based authentication.\u00a0 Their only Apache <a href=\"http:\/\/confluence.atlassian.com\/display\/CROWD\/Integrating+Crowd+with+Apache\">solution<\/a> is based around HTTP Basic Authentication.\u00a0 I found an open JIRA <a href=\"http:\/\/jira.atlassian.com\/browse\/CWD-1440\">issue<\/a> about this and from there found some code examples laying around.\u00a0 None of them were an all-in-one solution, so I combined the various bits into a <a href=\"http:\/\/github.com\/jimbrowne\/apache-crowd-cookie\">single solution<\/a>.\u00a0 Hopefully Atlassian will provide an official solution in the near future, or at least patch their official Perl libraries to include the calls utilized by the code that does implement a solution.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We and some of our customers use Atlassian&#8217;s Crowd as a SSO solution.\u00a0 I was surprised to find that Atlassian does not provide code to enable Apache to use cookie-based authentication.\u00a0 Their only Apache solution is based around HTTP Basic Authentication.\u00a0 I found an open JIRA issue about this and from there found some code [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,7],"tags":[37,16,17,18,8],"class_list":["post-38","post","type-post","status-publish","format-standard","hentry","category-apache","category-systems-administration","tag-apache","tag-atlassian","tag-crowd","tag-github","tag-sysadmin"],"_links":{"self":[{"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":2,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":40,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=\/wp\/v2\/posts\/38\/revisions\/40"}],"wp:attachment":[{"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jbrowne.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}