This interface defines a single combine( ) method that combines two arrays of ProtectionDomain objects into a single equivalent (and perhaps optimized) array. You can associate a DomainCombiner with an existing AccessControlContext by calling the two-argument AccessControlContext( ) constructor. Then, when the checkPermission( ) method of the AccessControlContext is called or when the AccessControlContext is passed to a doPrivileged( ) method of AccessController , the specified DomainCombiner merges the protection domains of the current stack frame with the protection domains encapsulated in the AccessControlContext . This class is used only by system-level code; typical applications rarely need to use it. public interface DomainCombiner { // Public Instance Methods ProtectionDomain[ ] combine (ProtectionDomain[ ] currentDomains , ProtectionDomain[ ] assignedDomains ); } Implementationsjavax.security.auth.SubjectDomainCombiner Passed ToAccessControlContext.AccessControlContext( ) Returned ByAccessControlContext.getDomainCombiner( ) |