legacy-knowledge-base
公開されました Sep. 10, 2025

{WebID}を使用してインスタンスを構成できない

written-by

Ankit Gupta

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • 再現する手順

    1. $LIFERAY_HOME/tomcat/xyz-bin/setenv.shの JAVA_OPTS に -Dcompany-id-properties=true を追加します。
    2. ファイル $LIFERAY_HOME/portal-test1.properties コンテンツ company.security.auth.type=screenNameで追加します。
    3. 構成 > の仮想インスタンスに移動します。
    4. Web ID「test1」で新しい仮想インスタンスを作成します。
    5. 仮想ホストによって仮想インスタンスにアクセスします (/etc/hosts をいじる必要がある場合があります)。
    6. インスタンスにログインします。

    予想された結果

    プロパティ company.security.auth.type=screenName{web-id}に追加されているため、ログイン画面はユーザーの screennameを要求します。

    実績

    ログイン画面は、ユーザーの 電子メールを要求し、 portal{web-id}.properties からのプロパティが読み込まれていないことを示しています。

Environment

  • Liferay 環境の詳細、サードパーティおよび/または関連する環境への最近の変更

解決策

追加情報

did-this-article-resolve-your-issue

legacy-knowledge-base