Package java.security
Interface DomainCombiner
-
- All Known Implementing Classes:
SubjectDomainCombiner
public interface DomainCombinerLegacy security code; do not use.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtectionDomain[]combine(ProtectionDomain[] current, ProtectionDomain[] assigned)Returns a combination of the two providedProtectionDomainarrays.
-
-
-
Method Detail
-
combine
ProtectionDomain[] combine(ProtectionDomain[] current, ProtectionDomain[] assigned)
Returns a combination of the two providedProtectionDomainarrays. Implementers can simply merge the two arrays into one, remove duplicates and perform other optimizations.- Parameters:
current- the protection domains of the current execution threadassigned- the protection domains of the parent thread, may benull.- Returns:
- a single
ProtectionDomainarray computed from the two provided arrays.
-
-