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-2.6.4.jar
- WEB-INF\classes\
- WEB-INF\lib\crowd-integration-seraph25-2.8.3.jar
- WEB-INF\lib\embedded-crowd-api-2.8.3.jar
- WEB-INF\lib\jira-api-6.4.11.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 -->