Package java.security
Interface DomainCombiner
- All Known Implementing Classes:
SubjectDomainCombiner
public interface DomainCombiner
Legacy security code; do not use.
-
Method Summary
Modifier and Type Method Description ProtectionDomain[]combine(ProtectionDomain[] current, ProtectionDomain[] assigned)Returns a combination of the two providedProtectionDomainarrays.
-
Method Details
-
combine
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.
-