简体   繁体   English

从PingFederate为RSTR中的元素EncryptedAssertion或EncryptedData添加ID属性

[英]Add an ID Attribute for Element EncryptedAssertion or EncryptedData in RSTR from PingFederate

I'm using Apache CXF 3.1.5 to work with PingFederate 7.2. 我正在使用Apache CXF 3.1.5与PingFederate 7.2一起使用。 In PingFederate, I create a WS-Trust SP connection, if the SAML Assertion is not encrypted. 如果未加密SAML声明,则在PingFederate中,我将创建WS-Trust SP连接。 it works well. 它运作良好。 If the SAML Assertion is encrypted, then it doesn't work, because CXF requires an Id Attribute for Element EncryptedAssertion or EncryptedData in RSTR from PingFederate. 如果SAML断言是加密的,则它将不起作用,因为CXF要求PingFederate的RSTR中的 Element EncryptedAssertionEncryptedData具有Id属性。 While, PingFederate doesn't provide such an Id attribute. 虽然,PingFederate 提供这样的Id属性。 so I have two questions. 所以我有两个问题。

  1. Why does CXF require an Id attribute(method createSecurityToken in class AbstractSTSClient )? 为什么CXF需要一个Id属性(类AbstractSTSClient中的 createSecurityToken方法)? It seems the standard specifications say that the Id attribute is optional. 似乎标准规范说Id属性是可选的。

  2. How can I add an Id attribute for Element EncryptedAssertion or EncryptedData in PingFederate? 如何在PingFederate中为Element EncryptedAssertionEncryptedData添加Id属性? or is there something else I can do? 还是我还能做些什么?

Thanks a lot! 非常感谢!

RSTR from PingFederate 来自PingFederate的RSTR

I loosened the requirement for an ID in CXF. 我放宽了CXF中ID的要求。

Fixed here: https://issues.apache.org/jira/browse/CXF-7003 在此处修复: https//issues.apache.org/jira/browse/CXF-7003

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM