MIDANAuthenticator combines Crowd SSO and JIRA local database authorization.
- MIDANAuthenticator.java combines Crowd SSO and JIRA local database authorization.
- JIAAuthenticatorWrapper.java provides a wrapper for the JIRA Seraph authenticator.
- SSOAuthenticatorWrapper.java provides a wrapper for the Crowd SSO authenticator.
The easiest way to build MIDANAuthenticator is to use Maven:
mvn clean package
You can also compile the classes manually. The following Atlassian libraries and class folders need to be linked:
- WEB-INF\lib\atlassian-seraph-3.0.3.jar
- WEB-INF\classes\
- WEB-INF\lib\crowd-integration-seraph25-2.8.8.jar
- WEB-INF\lib\embedded-crowd-api-2.8.8.jar
- WEB-INF\lib\jira-api-7.2.4.jar
If built through Maven;
- Copy the JAR from the target directory to [JIRA ROOT]/atlassian-jira/WEB-INF/lib
- Enable the MIDANAuthenticator in your seraph-config.xml and comment out all other authenticators.
If built manually;
- Copy the 3 class files to [JIRA ROOT]/atlassian-jira/WEB-INF/classes/eu/midan/
- Enable the MIDANAuthenticator in your seraph-config.xml and comment out all other authenticators.
<!-- CROWD:START - If enabling Crowd SSO integration uncomment the following SSOSeraphAuthenticator and comment out the JiraSeraphAuthenticator below -->
<!--<authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/>-->
<!-- CROWD:END -->
<!-- CROWD:START - The authenticator below here will need to be commented out for Crowd SSO integration -->
<!--<authenticator class="com.atlassian.jira.security.login.JiraSeraphAuthenticator"/>-->
<!-- CROWD:END -->
<!-- CROWD:START - The authenticator below here will need to be commented out for Crowd SSO integration -->
<authenticator class="eu.midan.MIDANAuthenticator"/>
<!-- CROWD:END -->
- To get it working, you need to have the "JIRA Internal Directory" enabled and it has to be on the first position in the JIRA user directories.