Skip to content

Most visited

Recently visited

navigation
Added in API level 1

DomainCombiner

public interface DomainCombiner

java.security.DomainCombiner
Known Indirect Subclasses


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

combine

Added in API level 1
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 ProtectionDomain: the protection domains of the current execution thread
assigned ProtectionDomain: the protection domains of the parent thread, may be null.
Returns
ProtectionDomain[] a single ProtectionDomain array computed from the two provided arrays.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.