Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.security

Interface DomainCombiner

java.lang.Object
|
+--java.security.DomainCombiner


public interface DomainCombiner

A public interface used to combine two ProtectionDomains in a new ProtectionDomain and update the current Protection Domains associated with the current AccessControlContext. It can add, subtract, or update ProtectionDomains or possibly remove duplicates or any possible complex action but just not add ones that do not already exist in either array.

Since:Author:See Also:

Method Summary

java.security.ProtectionDomain[]combine(java.security.ProtectionDomain currentDomains, java.security.ProtectionDomain assignedDomains)

Combines the current ProtectionDomains of the Thread with new ProtectionDomains.

Method Details

combine

public ProtectionDomain[] combine(java.security.ProtectionDomain currentDomains, java.security.ProtectionDomain assignedDomains)

Combines the current ProtectionDomains of the Thread with new ProtectionDomains.

Parameters:

Returns: