com.sun.xml.wss.impl.resolver
Class URIResolver
java.lang.Object
com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
com.sun.xml.wss.impl.resolver.URIResolver
public class URIResolver
- extends com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
This resolver is used for resolving URIs.
Resolves URLs that refers to attachments that has a (1) Content-ID
or a (2) Content-Location MIME header.
In case of Content-Location, the URL may require resolution to determine
the referenced attachment [RFC2557].
Also resolves (3) URL's that are Ids on XML elements within the
SOAPMessage.
- Author:
- XWS-Security Team
|
Field Summary |
protected static java.util.logging.Logger |
log
|
| Fields inherited from class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi |
_properties |
|
Method Summary |
boolean |
engineCanResolve(org.w3c.dom.Attr uri,
java.lang.String baseURI)
Method engineCanResolve |
com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput |
engineResolve(org.w3c.dom.Attr uri,
java.lang.String baseURI)
Method engineResolve |
javax.xml.namespace.NamespaceContext |
getNamespaceContext(org.w3c.dom.Document doc)
|
static java.lang.String |
getResolverName()
Method getResolverName |
void |
setSOAPMessage(SOAPMessage soapMsg)
|
| Methods inherited from class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi |
engineAddProperies, engineGetProperty, engineGetPropertyKeys, engineSetProperty, fixURI, understandsProperty |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final java.util.logging.Logger log
URIResolver
public URIResolver()
URIResolver
public URIResolver(SOAPMessage soapMsg)
setSOAPMessage
public void setSOAPMessage(SOAPMessage soapMsg)
getResolverName
public static java.lang.String getResolverName()
- Method getResolverName
- Returns:
- The resolver implementation class name
engineResolve
public com.sun.org.apache.xml.internal.security.signature.XMLSignatureInput engineResolve(org.w3c.dom.Attr uri,
java.lang.String baseURI)
throws com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
- Method engineResolve
- Specified by:
engineResolve in class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
- Parameters:
uri - BaseURI -
- Returns:
- XMLSignatureInput
- Throws:
com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverException
engineCanResolve
public boolean engineCanResolve(org.w3c.dom.Attr uri,
java.lang.String baseURI)
- Method engineCanResolve
- Specified by:
engineCanResolve in class com.sun.org.apache.xml.internal.security.utils.resolver.ResourceResolverSpi
- Parameters:
uri - BaseURI -
- Returns:
- true if uri node can be resolved, false otherwise
getNamespaceContext
public javax.xml.namespace.NamespaceContext getNamespaceContext(org.w3c.dom.Document doc)
Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.