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.XSBase64BinaryUnmarshallerOverride 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
-
-
Constructor Summary
Constructors Constructor Description WSS4JXSBase64BinaryUnmarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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
processElementContent
-
Methods inherited from class org.opensaml.core.xml.io.AbstractXMLObjectUnmarshaller
buildXMLObject, checkIDAttribute, processAttribute, processChildElement, processUnknownAttribute, unmarshall, unmarshallAttribute, unmarshallChildElement, unmarshallNamespaceAttribute, unmarshallSchemaInstanceAttributes
-
-
-
-
Method Detail
-
unmarshallTextContent
protected void unmarshallTextContent(org.opensaml.core.xml.XMLObject xmlObject, Text content) throws org.opensaml.core.xml.io.UnmarshallingExceptionA 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
-
-