Package java.security

Interface DomainCombiner

All Known Implementing Classes:
SubjectDomainCombiner

public interface DomainCombiner
Legacy security code; do not use.
  • Method Details

    • combine

      ProtectionDomain[] combine​(ProtectionDomain[] current, ProtectionDomain[] assigned)
      Returns a combination of the two provided ProtectionDomain arrays. Implementers can simply merge the two arrays into one, remove duplicates and perform other optimizations.
      Parameters:
      current - the protection domains of the current execution thread
      assigned - the protection domains of the parent thread, may be null.
      Returns:
      a single ProtectionDomain array computed from the two provided arrays.