Class AWS4AuthenticationURLConnectionProcessor

java.lang.Object
org.faceless.publisher.type.AbstractURLConnectionProcessor
org.faceless.publisher.type.AWS4AuthenticationURLConnectionProcessor
All Implemented Interfaces:
URLConnectionProcessor

public class AWS4AuthenticationURLConnectionProcessor extends AbstractURLConnectionProcessor
A URLConnectionProcessor that supports the AWS4 authentication used by Amazon's S3 storage and compatible systems. This can be added to the list of URLConnectionProcessor object returned by ReportFactory.getURLConnectionProcessors() to allow BFO Publisher to load resources from Amazon S3 URLs

If not specified in the constructor, the "access" and "secret" keys will be requested by calling the the CallbackHandler with a NameCallback (for the access key) and PasswordCallback (for the secret key)

  • Constructor Details

    • AWS4AuthenticationURLConnectionProcessor

      public AWS4AuthenticationURLConnectionProcessor()
      Create a new AWS4AuthenticationURLConnectionProcessor.
    • AWS4AuthenticationURLConnectionProcessor

      public AWS4AuthenticationURLConnectionProcessor(String access, String secret)
      Create a new AWS4AuthenticationURLConnectionProcessor.
      Parameters:
      access - the "access key" supplied by the S3 storage provider
      secret - the "secret key" supplied by the S3 storage provider
    • AWS4AuthenticationURLConnectionProcessor

      public AWS4AuthenticationURLConnectionProcessor(CallbackHandler handler)
      Create a new AWS4AuthenticationURLConnectionProcessor.
      Parameters:
      handler - the CallbackHandler to use for authorization
  • Method Details