在我正在处理的项目中,我们有一个自定义的标识声明者属性映射器类,它实现了SAMLIdentityAssertionAttributeMapper
接口。该课程实施方法mapAttributeInfo
。Weblogic 10.3.6 jar无法找到ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS
的文档指出以下几点:
“无效mapAttributeInfo(收藏attrStmtInfos, 的ContextHandler ContextHandler中)从SAMLAttributeStatementInfo收集
地图本金的收藏这个接口的实现,预计新增集合。的上下文处理程序名称ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS“(http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13941/weblogic/security/providers/saml/SAMLIdentityAssertionAttributeMapper.html)
当项目在WebLogic 10.3.2上运行时,此行正在完成TLY:
((SecurityTokenContextHandler)contextHandler).addContextElement(ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS, principals);
现在,该项目应该在WebLogic 10.3.6上运行,并使用10.3.6罐子,我无法找到包含ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS
一个罐子。不幸的是,当使用Google搜索ContextElementDictionary
时,我无法在8个搜索结果中找到解决方案。
确实,那是我遇到的问题。对于10.3.2,该类可以在这个包中找到:'com.bea.common.security.utils.ContextElementDictionary'。对于10.3.6,我在这里找到它:'weblogic.security.utils.ContextElementDictionary' – Kuurde