public final class OpenSAMLUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Signature |
buildSignature()
Method buildSignature ...
|
static 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(XMLObject xmlObject,
Document doc)
Convert a SAML Assertion from a XMLObject to a DOM Element
|
static Element |
toDom(XMLObject xmlObject,
Document doc,
boolean signObject)
Convert a SAML Assertion from a XMLObject to a DOM Element
|
public static void initSamlEngine()
public static XMLObject fromDom(Element root) throws WSSecurityException
root
- of type ElementUnmarshallingException
WSSecurityException
public static Element toDom(XMLObject xmlObject, Document doc) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type DocumentMarshallingException
WSSecurityException
public static Element toDom(XMLObject xmlObject, Document doc, boolean signObject) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type DocumentsignObject
- whether to sign the XMLObject during marshallingMarshallingException
WSSecurityException
public static Signature buildSignature()
public static boolean isMethodSenderVouches(String confirmMethod)
confirmMethod
- of type Stringpublic static boolean isMethodHolderOfKey(String confirmMethod)
confirmMethod
- of type StringCopyright © 2016 JBoss by Red Hat. All rights reserved.