legacy-knowledge-base
公開されました Jun. 30, 2025

ゲストユーザーがログイン後、プライベートページにリダイレクトされない。

written-by

Tony Ng

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

問題

  • ゲストユーザーとしてプライベートページに移動した場合、ログイン後にアクセスしようとしたプライベートページにリダイレクトされない。

Environment

  • DXP 7.4

解決策

  • 管理者としてログインし、「システム設定」 > 「ログイン」を開き、「プロンプトを有効にする」にチェックを入れてください。 この設定は、インスタンス設定とサイト設定からも可能です。

    以下はその説明です(デフォルトではこの値は false):

    Set this to true to prompt a guest user to login when attempting to access a
    protected page resource in the portal.
    By setting this value to false, the portal will inform all users that a
    requested resource is not found if they have no entitlements to view the
    resource. The portal will not prompt for login even if the user is a guest user.
    This behavior complies with OWASP best practices.

追加情報

  • この設定は、ポータルのプロパティ「auth.login.prompt.enabled」からサイトスコープの設定に移行されました: LPS-141291
  • DXP 7.4 でのデフォルト設定の変更については、 7.4 でのデフォルト設定の変更を参照してください。
did-this-article-resolve-your-issue

legacy-knowledge-base