JiraDS 是在 Confluence里面 JIRA 的 datasource
  修改  D:jiraatlassian-jira-enterprise-4.2.4confluenceWEB-INFclassesatlassian-user.xml
  注释掉以下代码
  Xml代码  收藏代码
  <hibernate name="Hibernate Repository" key="hibernateRepository"  description="Hibernate Repository" cache="true"/>
  同时加入
  Xml代码  收藏代码
  <osuser name="OSUser Repository" key="osuserRepository"/>
  在JIRA里创建confluence-users 和 confluence-administrators组, 把你自己放在这两个组里,
  为了集成,这里有两个选择
  (1).手动编辑里面的JIRA这些用户组的成员给他们 一个或两个 onfluence组
  (2). Start up Confluence. Log in using your JIRA account and go to Administration and then Global Permissions. Now assign the 'can use' permission to your desired JIRA groups
  Activating External User Management
  Since user management is now conducted in JIRA and outside of Confluence, you will need to switch external user management on.
  Activating external user management will remove user and group management options from Confluence.
  Your users will also no longer be able to edit their full name or email address inside Confluence. (If they want to, they would have to do so in JIRA).
  To switch external user management on:
  Log into Confluence using your JIRA account.
  Go to the Confluence 'Administration Console'. To do this:
  Open the 'Browse' menu and select 'Confluence Admin'. The 'Administrator Access' login screen will be displayed.
  Enter your password and click 'Confirm'. You will be temporarily logged into a secure session to access the 'Administration Console'.
  Select 'Security Configuration' in the left-hand panel.
  In the 'Security Configuration' screen, click 'Edit'.
  Check the 'External user management' checkbox.
  Click 'Save'.
  XML切忌不能有中文