- java.lang.Object
-
- com.sun.xml.wss.saml.util.SAMLUtil
-
public class SAMLUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description SAMLUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ElementcreateSAMLAssertion(XMLStreamReader reader)static ElementlocateSamlAssertion(String assertionId, Document soapDocument)static ElementtoElement(Node doc, Object element)static ElementtoElement(Node doc, Object element, jakarta.xml.bind.JAXBContext jcc)static booleanvalidateTimeInConditionsStatement(Element samlAssertion)static booleanverifySignature(Element samlAssertion, PublicKey pubKey)
-
-
-
Method Detail
-
locateSamlAssertion
public static Element locateSamlAssertion(String assertionId, Document soapDocument) throws XWSSecurityException
- Throws:
XWSSecurityException
-
toElement
public static Element toElement(Node doc, Object element) throws XWSSecurityException
- Throws:
XWSSecurityException
-
toElement
public static Element toElement(Node doc, Object element, jakarta.xml.bind.JAXBContext jcc) throws XWSSecurityException
- Throws:
XWSSecurityException
-
createSAMLAssertion
public static Element createSAMLAssertion(XMLStreamReader reader) throws XWSSecurityException, XMLStreamException
-
validateTimeInConditionsStatement
public static boolean validateTimeInConditionsStatement(Element samlAssertion) throws XWSSecurityException
- Throws:
XWSSecurityException
-
verifySignature
public static boolean verifySignature(Element samlAssertion, PublicKey pubKey) throws XWSSecurityException
- Throws:
XWSSecurityException
-
-