Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.97 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.97 KB

MIDANAuthenticator

MIDANAuthenticator combines Crowd SSO and JIRA local database authorization.

Files

  • 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.

Build

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

Installation

If built through Maven;

  1. Copy the JAR from the target directory to [JIRA ROOT]/atlassian-jira/WEB-INF/lib
  2. Enable the MIDANAuthenticator in your seraph-config.xml and comment out all other authenticators.

If built manually;

  1. Copy the 3 class files to [JIRA ROOT]/atlassian-jira/WEB-INF/classes/eu/midan/
  2. 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 -->
  1. 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.