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 net.shibboleth.utilities.java.support.xml.ParserPool |
getParserPool()
Get the configured ParserPool.
|
static void |
initSamlEngine()
Initialise the SAML library
|
static void |
initSamlEngine(boolean includeXacml) |
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 void initSamlEngine(boolean includeXacml)
public static net.shibboleth.utilities.java.support.xml.ParserPool getParserPool()
public static org.opensaml.core.xml.XMLObject fromDom(Element root) throws WSSecurityException
root
- of type ElementWSSecurityException
public static Element toDom(org.opensaml.core.xml.XMLObject xmlObject, Document doc) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type DocumentWSSecurityException
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 marshallingWSSecurityException
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 © 2019 JBoss by Red Hat. All rights reserved.