Sun Java System Application Server 9.1 リリースノート

AS 9.1 IFR: Web UI 認証が機能しない (6569813)

説明

Application Server アップグレード後に、<jsp:forward> タグが Authenticate.jsp で予期されているように機能しません。<jsp:forward> を呼び出すとサーバーログにエラーが生成され、Web UI に空白ページが表示されます。問題は、 Authenticate.jsp 内の <jsp:forward><jsp:forward page="${redirectPage}"/> のようなページ属性が必要なのに、渡される値が /registry/thin/{pagename}.jsp のような相対パスであるためで、この場合は Authenticate.jsp が純粋な JSP ページであっても機能しません。

解決方法

Application Server アップグレードを完了したあと、asadmin ツールを使用して次のコマンドを実行し、 domain.xml<auth-realm> を設定します。

  1. <appserver9.1-install-dir>/bin に移動して、次のコマンドを実行します。


    ./asadmin delete-auth-realm --host localhost --port 6489 certificate

    これにより、古い auth-realm 証明書があれば削除されます。

  2. 次のコマンドを実行します。


    ./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 プロパティーを指定して作成されます。

  3. Application Server registry ドメインを停止して再起動します。