Package org.apache.wss4j.common.saml
Class WSS4JXSBase64BinaryUnmarshaller
java.lang.Object
org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
org.opensaml.core.xml.schema.impl.XSBase64BinaryUnmarshaller
org.apache.wss4j.common.saml.WSS4JXSBase64BinaryUnmarshaller
- All Implemented Interfaces:
org.opensaml.core.xml.io.Unmarshaller
public final class WSS4JXSBase64BinaryUnmarshaller
extends org.opensaml.core.xml.schema.impl.XSBase64BinaryUnmarshaller
Override the OpenSAML BASE-64 unmarshaller for X.509 Certificates, to fix a test failure in CXF due to the fact
that an X.509 Certificate is only partially unmarshalled.
https://issues.apache.org/jira/browse/WSS-695
-
Field Summary
Fields inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
CONFIG_PROPERTY_XML_STRICT_MODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidunmarshallTextContent(org.opensaml.core.xml.XMLObject xmlObject, Text content) A fix to call Text.getWholeText() instead of Text.getData(), as otherwise with the SAMLRenewTest in CXF's STS systests, the X.509 Certificate is only partially unmarshalled.Methods inherited from class org.opensaml.core.xml.schema.impl.XSBase64BinaryUnmarshaller
processElementContentMethods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processAttribute, processChildElement, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes
-
Constructor Details
-
WSS4JXSBase64BinaryUnmarshaller
public WSS4JXSBase64BinaryUnmarshaller()
-
-
Method Details
-
unmarshallTextContent
protected void unmarshallTextContent(org.opensaml.core.xml.XMLObject xmlObject, Text content) throws org.opensaml.core.xml.io.UnmarshallingException A fix to call Text.getWholeText() instead of Text.getData(), as otherwise with the SAMLRenewTest in CXF's STS systests, the X.509 Certificate is only partially unmarshalled.- Overrides:
unmarshallTextContentin classorg.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller- Throws:
org.opensaml.core.xml.io.UnmarshallingException
-