• 検索結果がありません。

ユーザを管理する

ドキュメント内 JasperReports Server CP User Guide JP (ページ 86-90)

JasperReports Server の規定のインストールでは、以下のユーザが設定されています。

The default installation of JasperReports Server sets up the following users:

規定の JasperReports Server インストールにおけるユーザ ユーザ ID 規定のパスワード 説明

anonymousUser anonymoususer 匿名でログインします。規定では無効になっています。

Allows anonymous login; disabled by default.

jasperadmin jasperadmin 規定の管理者です。

Default administrator

joeuser joeuser 規定のエンドユーザです。

Default end user

匿名ログインに関する詳細については、「JasperReports Server Ultimate Guide」を参照してください。

最初に、規定の管理者であるjasperadminでログインし、あなたのアカウントを作成して、管理者権限を割り当てます。あな たは管理者としてすべてのユーザを管理でき、管理者権限を他のユーザに割り当てることで代理のサーバ管理者を作ることもで きます。管理者権限をユーザに割り当てた場合、そのユーザは管理者としてサーバにログインすることが可能になります。

For more information about anonymous login, see the JasperReports Server Ultimate Guide. Initially, you log in as the default administrator, jasperadmin, to set up your user account and assign the administrator role to your account. As administrator, you can manage all users and delegate server administration duties by assigning the administrator role to other users. If you assign the administrator role to a user, that user can log into the server as an administrator.

ユーザ⼀覧を⾒るには:

1. jasperadminユーザでログインします。

Log in as jasperadmin.

2. [管理] > [ユーザー] を選択します。

「ユーザー」パネルに、ユーザ ID と名前がアルファベット順に表示されます。

Select Manage > Users.

The Users panel lists the user IDs and names in alphabetical order.

3. ユーザのプロパティを表示するには、「ユーザー」パネルでユーザをクリックします。すると、そのユーザのプロパティが

「プロパティ」パネルに表示されます。

ユーザのプロパティには、以下の項目が含まれています。

To display user properties, select a user in the Users panel. The user’s properties appear in the Properties panel.

User properties include:

「ユーザー名」…… ユーザのフルネームです。

User’s name – The full name of the user.

「ユーザーID」…… そのユーザの⼀意なログイン名であり、変更したり、リポジトリに格納したりすることはできま せん。

ID – The unique login name for the user, which cannot be changed, stored in the repository.

「メール」…… そのユーザの電子メールアドレスです。

Email address – The email address of the user.

「割り当てられた役割」……割り当てられている役割です。ハイパーリンクが設定されており、それをクリックすると

「役割」パネルが開き、役割を管理することができます。

Assigned roles – Hyperlinked roles assigned to the user. Click to open the Roles panel for managing the role.

「ユーザは有効になっています。」…… ユーザの状態(有効・無効)です。この項目にチェックを入れるとそのユーザ はログイン可能になり、チェックを外すとログインできなくなります。

Status – The enabled or disabledstate of the user. Check Status to enable the user to log in, and uncheck to disable the user from logging in.

「プロファイル属性」…… Web インターフェースを通さず、データベースに対して直接付与されたユーザの属性です。

ユーザ属性の詳細については、「JasperReports Server Ultimate Guide」を参照してください。

Profile attributes – User attributes added directly to the database instead of through the web interface of the server.

For more information about user attributes, see the JasperReports Server Ultimate Guide.

ユーザリストをフィルタリングして特定のユーザを⾒つけるには、「ユーザー」パネルの検索欄に検索⽂字列

を⼊⼒し、 をクリックします。

To filter the list of users or find a specific user, enter a search string in the search field of the Users

panel and click .

「ユーザー」パネルに検索結果が表⽰され、検索⽂字列がユーザ名またはユーザID に含まれるすべてのユー ザがリストアップされます。

The search results appear in the Users panel, listing all the users whose user name or user ID contains the search string.

ユーザを作成するには:

1. 管理者としてサーバにログインし、[管理] > [ユーザー] をクリックします。

Assuming you are logged in to the server as an administrator, click Manage > Users.

2. 「ユーザー」パネルで、[ユーザーの追加...] ボタンをクリックします。

In the Users panel, click Add User.

3. 「ユーザーの追加」ダイアログで、図 4-1に⽰すように⼊⼒します。

In the Add User dialog, enter the information shown in Figure 4-1.

図 4-1 「ユーザーの追加」ダイアログ

ユーザに対し、以下の情報を⼊⼒することができます。

You can enter the following information when adding a user:

ユーザ名または(タイトルなどの)その他の識別⼦。任意の形式で⼊⼒でき、⼊⼒必須ではありません。この名前は、

ユーザがログインしているときに、画面の右上隅に表示されます。

The user’s name, or other identifier, such as a title in any format. Optional. This name appears in the top right-hand corner of the screen when the user logs in.

ユーザ ID は、サーバがユーザを特定することに使われます。ユーザ IDは⼀意出なければなりません。これは⼊⼒必 須です。

The user ID, used by the server to identify the user. User IDs must be unique. Required.

パスワードとその確認。両方の欄には、同じパスワードを⼊⼒します。⼊⼒必須です。パスワードは、⼤⽂字・⼩⽂字 を区別します。

Password and confirmation. Enter the same password in both fields. Required. Passwords are case-sensitive.

ユーザには、定期的にパスワードを変更するよう助⾔してください。

Advise users to change their passwords regularly.

4. そのユーザの電子メールアドレスは、以下のフォーマットで⼊⼒します。⼊⼒必須ではありません。

username@domain_name

Enter the email address of the user in the following format:

username@domain_name

The email address is optional information in the Add User dialog.

5. すぐにユーザを有効にしたい場合には、[ユーザーは有効になっています。] にチェックを入れます。チェックを入れなかっ た倍は、そのユーザはログインすることができません。例えば、役割を割り当てるまでは有効にしたくない場合などがある でしょう。役割に関する詳細については、「4.3役割を管理する」(p.91)を参照してください。

Check User is enabled to enable the user immediately. Uncheck User is enabled to prevent a user from logging in.

You might want to prevent a user from logging in until you assign custom roles, for example. For more information about roles, see section 4.3, “Managing Roles,” on page 72.

6. [ユーザーの追加] ボタンをクリックします。作成を止める場合には、[キャンセル] ボタンをクリックします。

すると、「ユーザー」パネルに新しいユーザが表⽰されます(そのユーザが除外されるような検索を使⽤していない限り)。 そのユーザのプロパティが「プロパティ」パネルに表示されます。JasperReports Server は、すべてのユーザに対し、規 定の役割である ROLE_USER を割り当てます。

Click Add User, or Cancel to quit without saving.

The new user appears in the Users panel (unless you used a search term that excludes it). The user’s properties appear in the Properties panel. JasperReports Server automatically assigns every user the default role, ROLE_USER

図 4-2 「ユーザー」パネルと「プロパティ」パネル

ユーザを編集するには:

1. 管理者としてサーバにログインし、[管理] > [ユーザー] をクリックします。

Assuming you are logged in to the server as an administrator, click Manage > Users.

2. 「ユーザー」パネルでユーザを選択します(必要なら、名前や IDで検索してユーザを⾒つけてください)。すると、その ユーザのプロパティが表示されます。

In the Users panel, select a user. Search by name or ID to find the user if necessary. User properties appear.

3. 「プロパティ」パネル内の [編集] ボタンをクリックします。ここでは、ユーザ ID や読み取り専用になっているものを除 いてユーザプロパティを編集することができます。「プロファイル属性」は、データベース内で編集しなければなりません

(JasperReports Server Ultimate Guide を参照してください。)

In the Properties panel, click Edit. You can now edit user properties other than the user ID, which is read-only, and

the profile attributes. Profile attributes must be modified in the database (see the JasperReports Server Ultimate Guide).

図 4-3 ユーザプロパティ 4. 「プロパティ」パネルで、「ユーザー名」、「メール」、「パスワード」を修正します。

In the Properties panel, modify the user name, email address, or password.

管理者であれば他のユーザのパスワードを変更することは可能ですが、現在設定されているパスワードを生テ キストで⾒ることはできません。

Although you can change a user’s password, even as Administrator, you cannot read the existing password in clear text.

5. ユーザに、1 つかそれ以上の新しい役割を割り当てます。

To assign the user one or more new roles:

a. 「利⽤可能な役割」ペインで、1つかそれ以上の役割を選択します。

In the Roles Available pane, select one or more roles.

Ctrl キーを押しながらクリックすることで、複数の役割を選択することができます。

Use Ctrl-click to select multiple roles.

b. をクリックし、選択した役割を「割り当てられた役割」ペインに移動します。例えば、「利⽤可能な役割」ペ

インで「ROLE_ADMINISTRATOR」を選択し、 をクリックします。

Click to move roles to the Roles Assigned pane. For example, in Roles Available, select

ROLE_ADMINISTRATOR, and click .

6. ユーザから役割の割り当てを外すには、その役割を選択し、 をクリックして、役割を「利⽤可能な役割」ペインに

移動します。

To remove roles from the user, select the roles, and click to move the roles into Roles Available.

「割り当てられた役割」ペインには、現在そのユーザに割り当てられている役割が表⽰されます。「利⽤可能 な役割」ペインには、そのユーザには適任でないとされた未割り当ての役割が表示されます。

Roles Assigned lists the roles currently assigned to the user. Roles Available lists unassigned roles for which the user is eligible.

ドキュメント内 JasperReports Server CP User Guide JP (ページ 86-90)