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

SAML リクエストを処理できない

written-by

Sivakumar Perumal

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

問題

  • SAMLを有効にした後、ユーザーがログインしようとすると、UIおよびサーバーコンソールで以下のメッセージが表示され、認証に失敗しました。
    UI: "Unable to handle SAML Request"
    サーバーコンソール: 
    ERROR [http-nio-443-exec-81][BaseSamlStrutsAction:54] com.liferay.portal.kernel.exception.UserScreenNameException$MustNotBeNull: Screen name must not be null for user 14900028
    com.liferay.portal.kernel.exception.UserScreenNameException$MustNotBeNull: Screen name must not be null for user 14900028
    at com.liferay.portal.service.impl.UserLocalServiceImpl.validateScreenName(UserLocalServiceImpl.java:6962)
    at com.liferay.portal.service.impl.UserLocalServiceImpl.validate(UserLocalServiceImpl.java:6698)
    at com.liferay.portal.service.impl.UserLocalServiceImpl.addUserWithWorkflow(UserLocalServiceImpl.java:960)
    at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:774)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)

環境

  • Liferay DXP 7.0

解決

  • 上記のエラーは、ユーザーがスクリーンネームを持たず、Liferayにログインしようとしたときに発生します。
  • 重要なポイント: 必要な属性がすべて正しくマッピングされて初めて、ユーザーがLiferayにインポートされます。 必要な属性は、認証を成功させるために必要です。 下記の必要な属性をご参照ください。
    必須属性.JPG

追加情報

  • 属性マッピング
    アトリビュートマッピング.JPG
did-this-article-resolve-your-issue

legacy-knowledge-base