Class ResolverAttachment

java.lang.Object
org.apache.wss4j.stax.impl.resourceResolvers.ResolverAttachment
All Implemented Interfaces:
org.apache.xml.security.stax.ext.ResourceResolver, org.apache.xml.security.stax.ext.ResourceResolverLookup

public class ResolverAttachment extends Object implements org.apache.xml.security.stax.ext.ResourceResolver, org.apache.xml.security.stax.ext.ResourceResolverLookup
Fake Resolver for SwA (SOAP with Attachment)
  • Constructor Details

    • ResolverAttachment

      public ResolverAttachment()
  • Method Details

    • canResolve

      public org.apache.xml.security.stax.ext.ResourceResolverLookup canResolve(String uri, String baseURI)
      Specified by:
      canResolve in interface org.apache.xml.security.stax.ext.ResourceResolverLookup
    • newInstance

      public org.apache.xml.security.stax.ext.ResourceResolver newInstance(String uri, String baseURI)
      Specified by:
      newInstance in interface org.apache.xml.security.stax.ext.ResourceResolverLookup
    • isSameDocumentReference

      public boolean isSameDocumentReference()
      Specified by:
      isSameDocumentReference in interface org.apache.xml.security.stax.ext.ResourceResolver
    • matches

      public boolean matches(org.apache.xml.security.stax.ext.stax.XMLSecStartElement xmlSecStartElement)
      Specified by:
      matches in interface org.apache.xml.security.stax.ext.ResourceResolver
    • getInputStreamFromExternalReference

      public InputStream getInputStreamFromExternalReference() throws org.apache.xml.security.exceptions.XMLSecurityException
      Specified by:
      getInputStreamFromExternalReference in interface org.apache.xml.security.stax.ext.ResourceResolver
      Throws:
      org.apache.xml.security.exceptions.XMLSecurityException