public final class OpenSAMLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static org.opensaml.xmlsec.signature.Signature |
buildSignature()
Method buildSignature ...
|
static org.opensaml.core.xml.XMLObject |
fromDom(Element root)
Convert a SAML Assertion from a DOM Element to an XMLObject
|
static void |
initSamlEngine()
Initialise the SAML library
|
static boolean |
isMethodHolderOfKey(String confirmMethod)
Method isMethodHolderOfKey ...
|
static boolean |
isMethodSenderVouches(String confirmMethod)
Method isMethodSenderVouches ...
|
static Element |
toDom(org.opensaml.core.xml.XMLObject xmlObject,
Document doc)
Convert a SAML Assertion from a XMLObject to a DOM Element
|
static Element |
toDom(org.opensaml.core.xml.XMLObject xmlObject,
Document doc,
boolean signObject)
Convert a SAML Assertion from a XMLObject to a DOM Element
|
public static void initSamlEngine()
public static org.opensaml.core.xml.XMLObject fromDom(Element root) throws WSSecurityException
root
- of type Elementorg.opensaml.core.xml.io.UnmarshallingException
WSSecurityException
public static Element toDom(org.opensaml.core.xml.XMLObject xmlObject, Document doc) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type Documentorg.opensaml.core.xml.io.MarshallingException
WSSecurityException
public static Element toDom(org.opensaml.core.xml.XMLObject xmlObject, Document doc, boolean signObject) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type DocumentsignObject
- whether to sign the XMLObject during marshallingorg.opensaml.core.xml.io.MarshallingException
WSSecurityException
public static org.opensaml.xmlsec.signature.Signature buildSignature()
public static boolean isMethodSenderVouches(String confirmMethod)
confirmMethod
- of type Stringpublic static boolean isMethodHolderOfKey(String confirmMethod)
confirmMethod
- of type StringCopyright © 2004–2016 The Apache Software Foundation. All rights reserved.