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

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.

問題

  • 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