| java.security.DomainCombiner |
Class Overview
DomainCombiner is used to update and optimize ProtectionDomains from an AccessControlContext.
Public Methods
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 (since
the most recent call to doPrivileged(PrivilegedAction)
). |
|---|
| assigned
| the protection domains of the parent thread, maybe null. |
|---|
Returns
- a single
ProtectionDomain array computed from the two
provided arrays.