Legacy Knowledge Base
公開されました Jun. 30, 2025

認証に一意の電子メール アドレスが必要か

Written By

Kenny Back

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 私たちの会社には、ユーザーが一意のスクリーン名を持っている外部クライアントがいくつかありますが、すべてが 1 つの電子メール アドレスを共有しています。 これにより、2 人のユーザーが同時にサインインできないなど、さまざまな競合が発生しています。
  • ログのエラーは次のようになります。
WARN [https-jsse-nio-0000-exec-000] [LDAPUserImporterImpl:000] 
Problem accessing LDAP server A user with company 12345 and email address
test@example.com is already in use com.liferay.portal.kernel.exception.SystemException

Environment

  • DXP 7.0
  • DXP 7.1
  • DXP 7.2
  • DXP 7.3
  • DXP 7.4

解決策

  • 複数のユーザーが同じ電子メール アドレスを共有できるようにする一意の電子メール アドレスの要件を削除する方法は、現在サポートされていません。
  • Liferay は、一意の電子メール アドレスとスクリーン ネームの両方を念頭に置いて設計されており、認証には絶対に不可欠です。

追加情報

  • 以下の記事を参照すれば、スクリーンネームで認証できますが、これは自動生成された電子メールがバックグラウンドで作成されることを意味します. これは単なる回避策であり、一意のアドレスの要件を削除するものではありません: Importing-LDAP-Users-With-The-Same-Email-Address
  • さらに、Liferay は LPS-139446に取り組んでいます。これにより、すべての LDAP ユーザーが電子メール アドレスを持っている必要がなくなり、ユーザーはスクリーン ネームだけで検証できるようになります。

Did this article resolve your issue ?

Legacy Knowledge Base