|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ws.security.saml.ext.OpenSAMLUtil
public class OpenSAMLUtil
Class OpenSAMLUtil provides static helper methods for the OpenSaml library
Created on May 18, 2009
Constructor Summary | |
---|---|
OpenSAMLUtil()
|
Method Summary | |
---|---|
static org.opensaml.xml.signature.Signature |
buildSignature()
Method buildSignature ... |
static org.opensaml.xml.XMLObject |
fromDom(org.w3c.dom.Element root)
Convert a SAML Assertion from a DOM Element to an XMLObject |
static void |
initSamlEngine()
Initialise the SAML library |
static boolean |
isMethodHolderOfKey(java.lang.String confirmMethod)
Method isMethodHolderOfKey ... |
static boolean |
isMethodSenderVouches(java.lang.String confirmMethod)
Method isMethodSenderVouches ... |
static org.w3c.dom.Element |
toDom(org.opensaml.xml.XMLObject xmlObject,
org.w3c.dom.Document doc)
Convert a SAML Assertion from a XMLObject to a DOM Element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OpenSAMLUtil()
Method Detail |
---|
public static void initSamlEngine()
public static org.opensaml.xml.XMLObject fromDom(org.w3c.dom.Element root) throws WSSecurityException
root
- of type Element
org.opensaml.xml.io.UnmarshallingException
WSSecurityException
public static org.w3c.dom.Element toDom(org.opensaml.xml.XMLObject xmlObject, org.w3c.dom.Document doc) throws WSSecurityException
xmlObject
- of type XMLObjectdoc
- of type Document
org.opensaml.xml.io.MarshallingException
org.opensaml.xml.signature.SignatureException
WSSecurityException
public static org.opensaml.xml.signature.Signature buildSignature()
public static boolean isMethodSenderVouches(java.lang.String confirmMethod)
confirmMethod
- of type String
public static boolean isMethodHolderOfKey(java.lang.String confirmMethod)
confirmMethod
- of type String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |