
Documentation for Crowd 1.2. Documentation for other versions of Crowd is available too.
Atlassian CrowdID is a free add-on to Crowd. It gives administrators a secure way to provide OpenID accounts for their users.
When installing Crowd 1.1+ the Crowd Setup Wizard allows you to install CrowdID with Crowd. If you chose to install CrowdID during the installation process of Crowd, there is no need for further configuration. The CrowdID server will be up and running at http://localhost:8095/openidserver
CROWD.The CrowdID application will need to locate users from a directory configured in Crowd. You will need to set up a directory in Crowd for CrowdID. For information on how to do this, see 2.2 Adding a Directory. We will assume that the directory is called CrowdID Directory for the rest of this document. It is possible to assign more than one directory for an application, but for the purposes of this example, we will use CrowdID Directory to house CrowdID users.
CrowdID also requires an administrator group to exist in the directory. You need to ensure that a crowd-administrators groups exist in the CrowdID Directory. Any user in this group will have CrowdID administrator access.
The Crowd documentation has more information on creating groups, creating principals and assigning principals to groups.
Crowd needs to be aware that the CrowdID application will be making authentication requests to Crowd. We need to add the CrowdID application to Crowd and map it to the CrowdID Directory.
属性 |
説明 |
|---|---|
名前 |
The username which the application will use when it authenticates against the Crowd framework as a client. This value must be unique, i.e. it cannot be used by more than one application client. |
説明 |
A short description of the application. Note: A web URL is often helpful. |
アクティブ |
Only deselect this if you wish to prevent all users (from all directories) from accessing this application. |
パスワード |
The password which the application will use when it authenticates against the Crowd framework as a client. |
Default Directory |
A directory that contains relevant users. Note: Additional directories can be added later. |
The Name and Password values must match the application.name and application.password that you set in the
CROWD/crowd-openidserver-webapp/WEB-INF/classes/crowd.properties (see Step 2 below).
Now that Crowd is aware of the CrowdID application, Crowd needs to know which directories or users can authenticate (log in) via Crowd. You can either allow entire directories to authenticate, or just particular groups within the directories. In our example, we will allow the entire CrowdID Directory to authenticate:
For details please see 3.4 Specifying which Groups can access an Application.
Please see 3.5 Specifying an Application's Address or Hostname. Please note:
localhost.localhost is a permissible foreign host. However, you will also need to manually add the IP address 127.0.0.1, as incoming requests to Crowd from CrowdID (both on the same, local, host) may be from the host 127.0.0.1 and not localhost. Crowd does not do a DNS lookup of the hostname, rather, it compares the values as is. Ensure the "Status" field is set to "true".CROWD/crowd-openidserver-webapp/WEB-INF/classes/crowd.properties を編集します。次のプロパティを変更します。
キー |
値 |
|---|---|
application.name |
crowd-openid-server |
application.password |
set a password |
application.login.url |
|
crowd.server.url |
|
session.validationinterval |
各リクエストで認証チェックを行いたい場合は 0 に設定します。その他の場合、ユーザーが Crowd SSO サーバーにログインしているかどうかを検証するためのリクエスト間隔を分単位で設定します。この値を 1 以上に設定すると、Crowd 連携のパフォーマンスが改善します。 |
If your Crowd server's port is configured differently from the default (i.e. 8095), set it accordingly. The application.name and application.password must match the Name and Password that you specified when you defined the application in Crowd (see Step 1 above). The application.login.url should point to the correct host and port of the CrowdID application.