Created
April 29, 2011 01:34
-
-
Save claylo/947691 to your computer and use it in GitHub Desktop.
Configure JIRA for Crowd SSO
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure JIRA property files for SSO | |
# RUN THESE COMMANDS FROM ~/Apps | |
# sort of uncomment the right line, and comment the right line | |
sed -i -e ' | |
/CROWD:START.*SSOSeraphAuthenticator/ { | |
a\ | |
\ <authenticator class="com.atlassian.jira.security.login.SSOSeraphAuthenticator"/> | |
} | |
' -e 's/^\(.*login.JiraSeraphAuthenticator.*\)$/<!-- & -->/' jira/atlassian-jira/WEB-INF/classes/seraph-config.xml | |
# copy Crowd properies | |
cp crowd/client/conf/crowd.properties jira/atlassian-jira/WEB-INF/classes | |
# edit JIRA's crowd.properties -- APPLICATION NAME | |
sed -i -e 's/application.name\([ ]*\)crowd/application.name\1jira/' jira/atlassian-jira/WEB-INF/classes/crowd.properties | |
# edit JIRA's crowd.properties -- APPLICATION PASSWORD | |
# | |
######################################### | |
# EDIT PASSWORD BELOW | |
######################################### | |
# replace YOURPASS in the string with the password you used setting up jira, | |
# but leave the \1 in place! | |
sed -i -e 's/^application.password\([ ]*\).*$/application.password\1YOURPASS/' jira/atlassian-jira/WEB-INF/classes/crowd.properties |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment