Liferay DXP 2026.Q4    |    Release Webinar: 18 November 2026    |    Replay coming soon! 

Blogs

Liferay SAML SP Requirements

Liferay SAML SP Requirements

David H Nebinger
David H Nebinger
阅读少于一分钟

Just a quick post today...

Helped a client who was getting a message in the logs after configuring the SAML SP in Liferay using an ADFS IdP:

Caused by: org.opensaml.ws.security.SecurityPolicyException: Inbound message issuer was not authenticated.
        at org.opensaml.ws.security.provider.MandatoryAuthenticatedMessageRule.evaluate(MandatoryAuthenticatedMessageRule.java:38)
        at org.opensaml.ws.security.provider.BasicSecurityPolicy.evaluate(BasicSecurityPolicy.java:51)
        ...

Kind of a cryptic message, doesn't really say much about what the real problem is or how to fix it.

Long story short, Liferay's SAML SP module requires that both the SAML assertions and the message are signed.

ADFS defaults to signing only the assertions, not the message. So when Liferay's SAML receives the unsigned message, you get the cryptic message above.

So, in case this happens to you, remember the following:

Liferay's SAML SP requires that both SAML assertions and messages are signed.

 

页面评论

Related Assets...

未找到结果

More Blog Entries...

Himanshu Chauhan
十一月 20, 2026
Tony Lim
十一月 19, 2026