JAVA解组没有类型的SAML属性

时间:2018-05-31 14:40:51

标签: java xml jaxb saml xml-namespaces

客户端发送的SAML断言没有属性值类型:

        </saml:Attribute>
        <saml:Attribute Name="attrName">
            <saml:AttributeValue>val</saml:AttributeValue>
        </saml:Attribute>

据我所知,根据SAML标准,这不是禁止的。

我的JAVA实现使用JAXB Unmarshaller来处理断言。 提取属性值时,我得到:

saml:AttributeValue: null

是否有其他解决方案,而不强制客户端添加类型?

0 个答案:

没有答案