org.apache.ws.security.saml
Class SAMLUtil

java.lang.Object
  extended byorg.apache.ws.security.saml.SAMLUtil

public class SAMLUtil
extends java.lang.Object

Utility methods for SAML stuff


Constructor Summary
SAMLUtil()
           
 
Method Summary
static java.lang.String getAssertionId(org.w3c.dom.Element envelope, java.lang.String elemName, java.lang.String nmSpace)
           
static java.security.cert.X509Certificate[] getCertificatesFromSAML(org.w3c.dom.Element elem)
          Extracts the certificate(s) from the SAML token reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLUtil

public SAMLUtil()
Method Detail

getCertificatesFromSAML

public static java.security.cert.X509Certificate[] getCertificatesFromSAML(org.w3c.dom.Element elem)
                                                                    throws WSSecurityException
Extracts the certificate(s) from the SAML token reference.

Parameters:
elem - The element containing the SAML token.
Returns:
an array of X509 certificates
Throws:
WSSecurityException

getAssertionId

public static java.lang.String getAssertionId(org.w3c.dom.Element envelope,
                                              java.lang.String elemName,
                                              java.lang.String nmSpace)
                                       throws WSSecurityException
Throws:
WSSecurityException


Copyright © 2004-2008 Apache Web Services. All Rights Reserved.