简体   繁体   English

Weblogic 10.3.6 jar,无法找到ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS

[英]Weblogic 10.3.6 jars, unable to find ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS

In the project I'm working on we have a custom Identity Asserter Attribute Mapper class that implements the SAMLIdentityAssertionAttributeMapper interface. 在我正在研究的项目中,我们有一个自定义的Identity Asserter Attribute Mapper类,该类实现了SAMLIdentityAssertionAttributeMapper接口。 The class implements the method mapAttributeInfo . 该类实现方法mapAttributeInfo

The documentation states the following: 该文档指出以下内容:

"void mapAttributeInfo(Collection attrStmtInfos, ContextHandler contextHandler) “ void mapAttributeInfo(Collection attrStmtInfos,ContextHandler contextHandler)

map from collection of SAMLAttributeStatementInfo to collection of Principal. 从SAMLAttributeStatementInfo的集合映射到Principal的集合。 The implementation of this interface is expected to add the collection of Principal to the context handler under name ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS" ( http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13941/weblogic/security/providers/saml/SAMLIdentityAssertionAttributeMapper.html ) 预期该接口的实现会将Principal的集合添加到上下文处理程序下,名称为ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS“( http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13941/weblogic/security/providers/ saml / SAMLIdentityAssertionAttributeMapper.html

When the project was running on WebLogic 10.3.2 this line was working perfectly: 当项目在WebLogic 10.3.2上运行时,此行运行正常:

((SecurityTokenContextHandler)contextHandler).addContextElement(ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS, principals);

Now that the project is supposed to run on WebLogic 10.3.6, and using the 10.3.6 jars, I'm unable to find a jar that contains ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS . 现在,该项目应该在WebLogic 10.3.6上运行,并使用10.3.6 jars,我无法找到包含ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS jars。 Unfortunately, when googling ContextElementDictionary I'm unable to find a solution in any of the 8 search results. 不幸的是,当谷歌搜索ContextElementDictionary我无法在8个搜索结果中的任何一个中找到解决方案。

This is more of a comment but too long to post as such... 这更多的是评论,但发布时间太长了……

ContextElementDictionary exists in the default weblogic.jar file. ContextElementDictionary存在于默认的weblogic.jar文件中。 See the following results: 查看以下结果:

jar -tf /opt/ora/mw/wlserver_10.3/server/lib/weblogic.jar | grep ContextElementD

weblogic/security/utils/ContextElementDictionary.class

However, that class does not appear to contain ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS when I do a: 但是,当我执行以下操作时,该类似乎不包含ContextElementDictionary.SAML_ATTRIBUTE_PRINCIPALS:

strings weblogic/security/utils/ContextElementDictionary.class

Maybe compare those two jar files and those two classes to see if something changed. 也许比较这两个jar文件和那两个类,看看是否有所改变。

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

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