Package com.sun.xml.wss.saml.util
Class SAMLUtil
java.lang.Object
com.sun.xml.wss.saml.util.SAMLUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Element
createSAMLAssertion
(XMLStreamReader reader) static Element
locateSamlAssertion
(String assertionId, Document soapDocument) static Element
static Element
static boolean
validateTimeInConditionsStatement
(Element samlAssertion) static boolean
verifySignature
(Element samlAssertion, PublicKey pubKey)
-
Constructor Details
-
SAMLUtil
public SAMLUtil()
-
-
Method Details
-
locateSamlAssertion
-
toElement
- 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
-