1. 首先,安装配置好LDAP Server(如果您还没有安装的话),然后启动LDAP Server。
2. 将“External password management”设置为ON,操作步骤如下:
1)以系统管理帐号登录JIRA系统,点击“管理”菜单;
2)依次点击Global Settings->General Configuration->Edit Configuration;
3)将“External password management”设置为ON。注意:JIRA目前的LDAP集成仅局限于使用外部的密码管理,因此“External User Management”选项必须设置为OFF。另外,采用外部密码管理后,JIRA将不再为用户显示“修改密码”和“忘记密码”链接。
3. 在JIRA系统中配置LDAP认证,操作步骤如下:
1)以系统管理帐号登录JIRA系统,点击“管理”菜单;
2)依次点击System->LDAP;在“Configure LDAP authentication”界面上正确填写LDAP Server的详细信息;
3) 点击“Submit”按钮,提交LDAP Server信息;需要说明的是*LDAP Host表示运行LDAP服务的主机地址;*Search Attribute表示LDAP中保存的用户登录名,不同的LDAP Server会有不同表示,如:ActiveDirectory使用“uid”或者“sAMAccountName”。
如果JIRA能够通过您在界面上输入的LDAP Server详细信息链接到LDAP Server上,则会出现"LDAP Authentication suceessful".注意此界面上的提示信息!
并生成如下格式的xml信息:
<opensymphony-user>
<authenticator class="com.opensymphony.user.authenticator.SmartAuthenticator"/>
<provider class="com.opensymphony.user.provider.ldap.LDAPCredentialsProvider">
<property name="java.naming.factory.initial">com.sun.jndi.ldap.LdapCtxFactory</property>
<property name="java.naming.provider.url">ldap://localhost:389</property>
<property name="searchBase">ou=Users,dc=edu,dc=cn</property>
<property name="uidSearchName">sAMAccountName</property>
<property name="java.naming.security.principal">cn=mymail,ou=Users,dc=edu,dc=cn</property>
<property name="java.naming.security.credentials">mypassword</property>
<property name="exclusive-access">true</property>
</provider>
<provider class="com.atlassian.core.ofbiz.osuser.CoreOFBizCredentialsProvider">
<property name="exclusive-access">true</property>
</provider>
<provider class="com.opensymphony.user.provider.ofbiz.OFBizProfileProvider">
<property name="exclusive-access">true</property>
</provider>
<provider class="com.opensymphony.user.provider.ofbiz.OFBizAccessProvider">
<property name="exclusive-access">true</property>
</provider>
</opensymphony-user>
4. 修改osuser.xml文件内容
4.1 如果您使用的JIRA Standalone版本,则先将WEB-INF/classes/osuser.xml 文件备份到/webapp目录下,然后将osuser.xml内容修改为步骤3界面上显示的内容.
4.2如JIRA是采用WAR文件包的形式部署的,则需要更新osuser.xml文件后,重新编译和部署WAR文件。
5. 重新启动JIRA。这样JIRA系统中的帐号(
在LDAP中也存在相同的帐号)则可以通过在LDAP中的密码进行认证登录。
分享到:
相关推荐
Integrating Python with Leading Computer Forensics Platforms 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除
Chapter 8: Configuring JIRA User Directories to Connect with LDAP, Crowd, and JIRA User Server Chapter 9: JIRA Add-On Development and Leveraging the REST API Chapter 10: Importing and Exporting Data ...
Integrating SystemC Models with Verilog and SystemVerilog.pdf
Apress - Office and SharePoint 2010 Users Guide - Integrating SharePoint with Excel Outlook Access and Word
Integrating Python with Leading Computer Forensics Platforms 英文无水印pdf pdf所有页面使用FoxitReader和PDF-XChangeViewer测试都可以打开 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源...
Integrating Python with Leading Computer Forensic Platforms takes a definitive look at how and why the integration of Python advances the field of digital forensics. In addition, the book includes ...
VTK 13 Integrating with the Windowing__ System.pdf VTK 13 Integrating with the Windowing__ System.pdf
This Tech Note describes how to integrate Wonderware® Scout™ with the following Wonderware® FactorySuite™ 2000 components on Windows NT 4.0: Wonderware® InTouch™, Wonderware® InBatch™, ...
sap press doc 解压密码:abap_developer
Oracle Receivables Guide to Integrating Oracle Receivables with Vertex Quantum Release 11i
Integrating Direct3D 9.0 with MFC
Integrating Open-Source Statistical Packages with ArcGIS
hadoop 与oracle数据库的结合
Microsoft.Press.Integrating.PHP.with.Windows.2011
Integrating Windows NT Server 4.0 with NetWare, UNIX, IBM, and
C# is a modern, general-purpose, object-oriented programming language developed by Microsoft and approved by Ecma and ISO.C# was developed by Anders Hejlsberg and his team during the development of ....
Its strong community, encouragement of idiomatic style, and statically-linked binary artifacts make integrating it with other technologies and managing microservices at scale consistent and intuitive...
sap press doc 解压密码:abap_developer