Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public interface

DomainCombiner

java.security.DomainCombiner
Known Indirect Subclasses

Class Overview

Legacy security code; do not use.

Summary

Public Methods
abstract ProtectionDomain[] combine ( ProtectionDomain[] current, ProtectionDomain[] assigned)
Returns a combination of the two provided ProtectionDomain arrays.

Public Methods

public abstract ProtectionDomain[] combine ( ProtectionDomain[] current, ProtectionDomain[] assigned)

Added in API level 1

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.