legacy-knowledge-base
公開されました Jul. 2, 2025

カスタム ログアウト アクションを作成する

written-by

Tibor Szucs

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.0+

解決策

  • 目的の結果を達成する方法は 2 つあります。 1 つ目は、カスタム モジュールを作成し、次の portal-ext プロパティのモジュールのリストに追加することです。
    logout.events.post=com.liferay.portal.events.LogoutPostAction,com.liferay.portal.events.DefaultLogoutPageAction
  • または、 com.liferay.portal.events.DefaultLogoutPageActionクラスを変更できます。 カスタマイズに関するいくつかのコメントがあります。
did-this-article-resolve-your-issue

legacy-knowledge-base