9.10. JBoss 認証の設定
手順9.4 タスク
SOA_ROOT/jboss-as/server/PROFILE/deploy/juddi-service.sar/juddi.war/WEB-INFでjuddi.propertiesファイルを見つけます。テキストエディターで開きます。- ファイルに以下の行を追加します。
uddi.auth=org.apache.juddi.auth.JBossAuthenticator juddi.securityDomain=java:/jaas/other
uddi.auth=org.apache.juddi.auth.JBossAuthenticator juddi.securityDomain=java:/jaas/otherCopy to Clipboard Copied! Toggle word wrap Toggle overflow juddi.authenticator プロパティーは、JbossAuthenticatorクラスを jUDDI レジストリーの Authenticator フレームワークに接続します。juddi.security.domainは、JBossAuthenticatorに Application Server のセキュリティードメインを見つけることができる場所を伝えます。このドメインを使用して認証を実行します。JBoss はSOA_ROOT/jboss-as/server/PROFILE/conf/login-config.xmlファイル内のアプリケーションポリシー要素ごとに 1 つのセキュリティードメインを作成することに注意してください。これらのドメインは、次の名前でサーバー JNDI ツリーにバインドされます。java:/jaas/<application-policy-name>(ルックアップが存在しないアプリケーションポリシーを参照する場合、otherという名前のポリシーがデフォルトで使用されます。) - ファイルを保存して終了します。