Application Server アップグレードを完了したあと、asadmin ツールを使用して次のコマンドを実行し、 domain.xml に <auth-realm> を設定します。
<appserver9.1-install-dir>/bin に移動して、次のコマンドを実行します。
./asadmin delete-auth-realm --host localhost --port 6489 certificate |
これにより、古い auth-realm 証明書があれば削除されます。
次のコマンドを実行します。
./asadmin create-auth-realm --terse=false --echo=true --interactive=true \ --user admin --host localhost --port 6489 --classname \ com.sun.enterprise.security.auth.realm.certificate.CertificateRealm \ --property assign-groups=have.client.cert certificate |
これにより、新規の <auth-realm> が assign-groups プロパティーを指定して作成されます。
Application Server registry ドメインを停止して再起動します。