Skip to end of metadata
Go to start of metadata
Table of Contents

As of JASIG CAS Client for Java 3.1.3, the distribution includes Atlassian Confluence and Jira support. Support is enabled by a custom CAS authenticator that extends the default authenticators.

WARNING: Use CAS Client for Java 3.3 or later for JIRA 4.3 or later. CAS Client for Java 3.1.x integration is broken for versions of JIRA 4.3 & later! See CASC-164 (Soulwing appears no better off, btw). This is fixed for version 3.3.0.

$JIRA_HOME Description

Icon
 

WAR/EAR Installation: <extracted archive directory>/webapp

/opt/atlassian/jira/atlassian-jira-enterprise-3.13.5/webapp

Standalone: <extracted archive directory>/atlassian-jira

/opt/atlassian/jira/atlassian-jira-enterprise-3.13.5-standalone/atlassian-jira

Modify the web.xml

Add the CAS Filters to the end of the filter list.
(info) See Configuring the Jasig CAS Client for Java in the web.xml for parameters

$JIRA_HOME/WEB-INF/web.xml

Don't Forget To Change the URLs

Icon
 

Before the login filter-mapping add:

$JIRA_HOME/WEB-INF/web.xml

Add the Single Sign Out listener to the list of listener list too

$JIRA_HOME/WEB-INF/web.xml

Modify the seraph-config.xml

To rely on the Single Sign Out functionality to sign off of Jira, comment out the normal logout URL and replace it with the CAS logout URL. Also, change the login links to point to the CAS login service.

$JIRA_HOME/WEB-INF/classes/seraph-config.xml

Don't Forget To Change the URLs

Icon
 
CAS Authenticator

Comment out the DefaultAuthenticator like so:

$JIRA_HOME/WEB-INF/classes/seraph-config.xml

And add in the JASIG CAS Jira Authenticator

For JIRA 4.4 or later:

$JIRA_HOME/WEB-INF/classes/seraph-config.xml

For JIRA 4.3 or earlier:

$JIRA_HOME/WEB-INF/classes/seraph-config.xml

CAS Jar Libs

Copy cas-client-core-3.x.y.jar and cas-client-integration-atlassian-3.x.y.jar to $JIRA_HOME/WEB-INF/lib

Troubleshooting

Characters encoding

See Configuring Confluence with JASIG CAS Client for Java 3.1 Troubleshooting section

  • No labels

1 Comment

  1. Hey there

    I have done this in my test JIRA Enviroment and it is not working. Do I need to install and configure a cas server as well?