8.10. ロールマッピングを有効にする
手順8.2 タスク
- テキストエディターでログイン設定ファイルを開きます: vi SOA_ROOT/jboss-as/server/PROFILE/conf/login-config.xml
- をセットする rolesPropertiesFile財産。(このプロパティーは、ローカルファイルシステムまたはクラスパスのいずれかにあるファイルを指すことができます)。
- ユーザーをロールにマップします。このコード例は、その方法を示しています。
# user=role1,role2,... guest=guest esbuser=esbrole # The current implementation will use the Common Name(CN) specified # for the certificate as the user name. # The unicode escape is needed only if your CN contains a space Andy\u0020Anderson=esbrole,worker - ファイルを保存して終了します。