Class SoapUtil
java.lang.Object
swiss.trustbroker.common.saml.util.SoapUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.opensaml.soap.soap11.EnvelopebuildSoapEnvelope(org.opensaml.saml.common.SAMLObject samlResponse) static <T extends org.opensaml.saml.common.SAMLObject>
TextractSamlObjectFromEnvelope(InputStream inputStream, Class<T> samlObjectClass) static <T extends org.opensaml.core.xml.XMLObject>
TfindChildXmlObject(org.opensaml.core.xml.ElementExtensibleXMLObject baseObject, Class<T> xmlObjectClass) static booleanisSignatureValid(Element element, Node signatureNode, List<org.opensaml.security.credential.Credential> trustCredentials) static StringnodeObjectToString(Node node) static StringnodeObjectToString(Node node, boolean secure) static StringnodeObjectToString(Node node, boolean secure, boolean prettyPrint) static voidsendSoap11Response(jakarta.servlet.http.HttpServletResponse response, org.opensaml.saml.common.SAMLObject samlResponse) static <T extends org.opensaml.core.xml.XMLObject>
TunmarshallDomElement(Element samlElement)
-
Method Details
-
nodeObjectToString
-
nodeObjectToString
-
nodeObjectToString
-
unmarshallDomElement
public static <T extends org.opensaml.core.xml.XMLObject> T unmarshallDomElement(Element samlElement) throws org.opensaml.core.xml.io.UnmarshallingException - Throws:
org.opensaml.core.xml.io.UnmarshallingException
-
extractSamlObjectFromEnvelope
public static <T extends org.opensaml.saml.common.SAMLObject> T extractSamlObjectFromEnvelope(InputStream inputStream, Class<T> samlObjectClass) -
findChildXmlObject
public static <T extends org.opensaml.core.xml.XMLObject> T findChildXmlObject(org.opensaml.core.xml.ElementExtensibleXMLObject baseObject, Class<T> xmlObjectClass) -
sendSoap11Response
public static void sendSoap11Response(jakarta.servlet.http.HttpServletResponse response, org.opensaml.saml.common.SAMLObject samlResponse) -
buildSoapEnvelope
public static org.opensaml.soap.soap11.Envelope buildSoapEnvelope(org.opensaml.saml.common.SAMLObject samlResponse) -
isSignatureValid
-