[java-opensaml] branch master updated: OSJ-295: EntropyUnmarshaller makes a wrong ClassCast
Brent Putman
putmanb at georgetown.edu
Wed Feb 19 20:41:47 EST 2020
This is an automated email from the git hooks/post-receive script.
putmanb pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=a561a8ea4518af9f1cdb9ab93ed742880cb273ce
The following commit(s) were added to refs/heads/master by this push:
new a561a8e OSJ-295: EntropyUnmarshaller makes a wrong ClassCast
a561a8e is described below
commit a561a8ea4518af9f1cdb9ab93ed742880cb273ce
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Wed Feb 19 20:36:55 2020 -0500
OSJ-295: EntropyUnmarshaller makes a wrong ClassCast
---
.../org/opensaml/soap/wstrust/impl/EntropyUnmarshaller.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyUnmarshaller.java b/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyUnmarshaller.java
index cc2f0f6..0ba944b 100644
--- a/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyUnmarshaller.java
+++ b/opensaml-soap-impl/src/main/java/org/opensaml/soap/wstrust/impl/EntropyUnmarshaller.java
@@ -20,7 +20,7 @@ package org.opensaml.soap.wstrust.impl;
import org.opensaml.core.xml.XMLObject;
import org.opensaml.core.xml.io.UnmarshallingException;
import org.opensaml.core.xml.util.XMLObjectSupport;
-import org.opensaml.soap.wstrust.Claims;
+import org.opensaml.soap.wstrust.Entropy;
import org.w3c.dom.Attr;
@@ -33,15 +33,15 @@ public class EntropyUnmarshaller extends AbstractWSTrustObjectUnmarshaller {
/** {@inheritDoc} */
protected void processAttribute(final XMLObject xmlObject, final Attr attribute) throws UnmarshallingException {
- final Claims claims = (Claims) xmlObject;
- XMLObjectSupport.unmarshallToAttributeMap(claims.getUnknownAttributes(), attribute);
+ final Entropy entropy = (Entropy) xmlObject;
+ XMLObjectSupport.unmarshallToAttributeMap(entropy.getUnknownAttributes(), attribute);
}
/** {@inheritDoc} */
protected void processChildElement(final XMLObject parentXMLObject, final XMLObject childXMLObject)
throws UnmarshallingException {
- final Claims claims = (Claims) parentXMLObject;
- claims.getUnknownXMLObjects().add(childXMLObject);
+ final Entropy entropy = (Entropy) parentXMLObject;
+ entropy.getUnknownXMLObjects().add(childXMLObject);
}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list