ページの先頭行へ戻る
Enterprise Application Platform V1.2.0 Launcherユーザーズガイド

8.2.2 create-file-user

形式

create-file-user --passwordfile password_file [--groups user_groups[:user_groups]...] [--authrealmname authrealm_name] username

機能説明

fileレルムのユーザーを作成します。

オプション

オプション名

初期値

説明

--passwordfile

なし

パスワードエントリーを格納しているファイルの名前を指定します。

fileユーザーのパスワードを記載した以下のエントリーを含むファイルを指定してください。

AS_ADMIN_USERPASSWORD=パスワード

--groups

なし

ユーザーが属するグループのリストを指定します。

複数のグループを指定する場合、各グループを「:」で区切って指定します。省略した場合は設定されません。

--authrealmname

なし

fileレルムの名前を指定します。

fileレルムとして設定したレルム名を指定してください。省略した場合はデフォルトレルムが選択されます。

オペランド

オペランド名

説明

username

ユーザー名を指定します。

戻り値

0: 正常終了

0以外: 異常終了

使用例

以下のように実行します。

java -jar launcher.jar --config-file domain.xml --execute create-file-user --passwordfile password.txt --groups group1:group2 user1