9.7. XMLDocAuthentication の設定
手順9.2 タスク
juddi-users.xmlというテキストファイルを作成し、jbossesb-registry.sarに保存します。<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <juddi-users> <user userid="sscholl" password="password" /> <user userid="dsheppard" password="password" /> <user userid="vbrittain" password="password" /> </juddi-users>- ファイルを保存して終了します。
- ファイルをクラスパスに追加します。
- テキストエディターで
juddi.propertiesファイルを開きます (SOA_ROOT/jboss-as/server/PROFILE/deploy/juddi-service.sar/juddi.war/WEB-INF)。 - ファイルを次のように変更します。
juddi.authenticator = org.apache.juddi.auth.XMLDocAuthentication juddi.usersfile = juddi-users.xml - ファイルを保存して終了します。