Spec-Zone.ru › OpenJDK 27

Interface DomainCombiner

All Known Implementing Classes:
SubjectDomainCombiner
@Deprecated(since="17", forRemoval=true) public interface DomainCombiner
Deprecated, for removal: This API element is subject to removal in a future version.
This class was only useful in conjunction with the Security Manager, which is no longer supported. There is no replacement for the Security Manager or this class.
DomainCombiner was used to dynamically update ProtectionDomains for access control operations and decisions. This feature no longer exists.
Since:
1.3

Method Summary

Modifier and Type Method Description
ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
Deprecated, for removal: This API element is subject to removal in a future version.
Modify or update the provided ProtectionDomains.

Method Details

combine

ProtectionDomain[] combine(ProtectionDomain[] currentDomains, ProtectionDomain[] assignedDomains)
Deprecated, for removal: This API element is subject to removal in a future version.
Modify or update the provided ProtectionDomains. ProtectionDomains may be added to or removed from the given ProtectionDomains. The ProtectionDomains may be re-ordered. Individual ProtectionDomains may be modified (with a new set of Permissions, for example).
Parameters:
currentDomains - the ProtectionDomains associated with the current execution thread. The ProtectionDomains are listed in order of execution, with the most recently executing ProtectionDomain residing at the beginning of the array. This parameter may be null if the current execution thread has no associated ProtectionDomains.
assignedDomains - an array of inherited ProtectionDomains. This parameter may be null if there are no inherited ProtectionDomains.
Returns:
a new array consisting of the updated ProtectionDomains, or null.

Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2026, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.

© 1993, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API