xsul.dsig.saml
Class CapSOAPBodyIdResolver

java.lang.Object
  extended byResourceResolverSpi
      extended byxsul.dsig.saml.CapSOAPBodyIdResolver

public class CapSOAPBodyIdResolver
extends ResourceResolverSpi

This resolver is used for resolving same-document URI like URI="#id". It is desgined to only work with SOAPEnvelopes. It looks for the Id in the first child elemenet of the Body element.

See Also:
Serialized Form

Constructor Summary
CapSOAPBodyIdResolver()
           
 
Method Summary
 boolean engineCanResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
           
 XMLSignatureInput engineResolve(org.w3c.dom.Attr uri, java.lang.String BaseURI)
           
static ResourceResolverSpi getInstance()
          Method getInstance
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapSOAPBodyIdResolver

public CapSOAPBodyIdResolver()
Method Detail

getInstance

public static ResourceResolverSpi getInstance()
Method getInstance

Returns:
a ResourceResolverSpi

engineResolve

public XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
                                       java.lang.String BaseURI)
                                throws ResourceResolverException
Throws:
ResourceResolverException

engineCanResolve

public boolean engineCanResolve(org.w3c.dom.Attr uri,
                                java.lang.String BaseURI)


IU Extreme! Lab (http://www.extreme.indiana.edu)