|
||||||||||
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(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.xml.XMLObject xmlObject,
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(Element root) throws WSSecurityException
root
- of type Element
org.opensaml.xml.io.UnmarshallingException
WSSecurityException
public static Element toDom(org.opensaml.xml.XMLObject xmlObject, 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(String confirmMethod)
confirmMethod
- of type String
public static boolean isMethodHolderOfKey(String confirmMethod)
confirmMethod
- of type String
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |