Interface KabAccessProvider

All Known Implementing Classes:
PermAccessProvider

public interface KabAccessProvider
Interface for applying access control information to a KabEntry before being written to the KAB file. Given Java's limitations around accessing this type of data from ZIP files, the access control data is managed through alternate methods and sometimes the access control data isn't known until all the input has been processed. By tracking access control data separately via a provider, when the KabOutputStream is closed and the directory is actually written, the provider has a chance to introduce access control information at the end of the process when all information should be known.
Version:
Jun-22-22
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setAccess(KabEntry kabEntry)
    Override uid/gid/permissions as needed for the specified directory entry.
  • Method Details

    • setAccess

      void setAccess(KabEntry kabEntry)
      Override uid/gid/permissions as needed for the specified directory entry.
      Parameters:
      kabEntry - the entry to apply access control data to