com.sun.xml.wss.saml.util
Class SAMLUtil

java.lang.Object
  extended by com.sun.xml.wss.saml.util.SAMLUtil

public class SAMLUtil
extends Object


Constructor Summary
SAMLUtil()
           
 
Method Summary
static Element createSAMLAssertion(XMLStreamReader reader)
           
static Element locateSamlAssertion(String assertionId, Document soapDocument)
           
static Element toElement(Node doc, Object element)
           
static Element toElement(Node doc, Object element, JAXBContext jcc)
           
static boolean validateTimeInConditionsStatement(Element samlAssertion)
           
static boolean verifySignature(Element samlAssertion, PublicKey pubKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLUtil

public SAMLUtil()
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,
                                JAXBContext jcc)
                         throws XWSSecurityException
Throws:
XWSSecurityException

createSAMLAssertion

public static Element createSAMLAssertion(XMLStreamReader reader)
                                   throws XWSSecurityException,
                                          XMLStreamException
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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.