問題
- ゲストユーザーとしてプライベートページに移動した場合、ログイン後にアクセスしようとしたプライベートページにリダイレクトされない。
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 でのデフォルト設定の変更を参照してください。