diff options
| author | Eric Blake <ebb9@byu.net> | 2002-03-29 08:30:50 +0000 |
|---|---|---|
| committer | Eric Blake <ebb9@byu.net> | 2002-03-29 08:30:50 +0000 |
| commit | 003f1580b9d8bf681b3d844a73673c7694da4446 (patch) | |
| tree | b6f16fc8a55e3f7829e538c8420d9273017abe18 /java/security/DomainCombiner.java | |
| parent | af56daa41d144d706cedb267955fe2bd31a1da8f (diff) | |
| download | classpath-003f1580b9d8bf681b3d844a73673c7694da4446.tar.gz | |
2002-03-29 Eric Blake <ebb9@email.byu.edu>
* java/security/AllPermission.java: Update to 1.4.
* java/security/BasicPermission.java: Ditto.
* java/security/Certificate.java: Ditto.
* java/security/CodeSource.java: Ditto.
* java/security/DomainCombiner.java: Ditto.
* java/security/Guard.java: Ditto.
* java/security/GuardedObject.java: Ditto.
* java/security/Key.java: Ditto.
* java/security/Permission.java: Ditto.
* java/security/PermissionCollection.java: Ditto.
* java/security/Permissions.java: Ditto.
* java/security/Principal.java: Ditto.
* java/security/PrivateKey.java: Ditto.
* java/security/PrivilegedAction.java: Ditto.
* java/security/PrivilegedExceptionAction.java: Ditto.
* java/security/PublicKey.java: Ditto.
* java/security/SecurityPermission.java: Ditto.
* java/security/UnresolvedPermission.java: Ditto.
Diffstat (limited to 'java/security/DomainCombiner.java')
| -rw-r--r-- | java/security/DomainCombiner.java | 45 |
1 files changed, 24 insertions, 21 deletions
diff --git a/java/security/DomainCombiner.java b/java/security/DomainCombiner.java index 17e5a278d..5d5397a55 100644 --- a/java/security/DomainCombiner.java +++ b/java/security/DomainCombiner.java @@ -1,5 +1,5 @@ -/* DomainCombiner.java - Combines ProtectionDomains - Copyright (C) 1999 Free Software Foundation, Inc. +/* DomainCombiner.java -- Combines ProtectionDomains + Copyright (C) 1999, 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -38,27 +38,30 @@ exception statement from your version. */ package java.security; /** - A public interface used to combine two ProtectionDomains in a new - ProtectionDomain and update the current Protection Domains - associated with the current AccessControllerContext. - - It can add, subtract, or update ProtectionDomains or possibly - remove duplicates or any possible complex action but just not add - ones that do not already exist in either array. - - @since JDK 1.3 - @author Mark Benvenuto + * A public interface used to combine two ProtectionDomains in a new + * ProtectionDomain and update the current Protection Domains + * associated with the current AccessControlContext. + * + * It can add, subtract, or update ProtectionDomains or possibly + * remove duplicates or any possible complex action but just not add + * ones that do not already exist in either array. + * + * @author Mark Benvenuto + * @see AccessControlContext + * @see AccessController + * @since 1.3 + * @status updated to 1.4 */ public interface DomainCombiner { /** - Combines the current ProtectionDomains of the Thread with new - ProtectionDomains. - - @param currentDomains - the ProtectionDomains for the current thread. - @param assignedDomains - ProtectionsDomains to add - @returns a new array of all the ProtectionDomains + * Combines the current ProtectionDomains of the Thread with new + * ProtectionDomains. + * + * @param currentDomains - the ProtectionDomains for the current thread. + * @param assignedDomains - ProtectionsDomains to add + * @return a new array of all the ProtectionDomains */ - public ProtectionDomain[] combine(ProtectionDomain[]currentDomains, - ProtectionDomain[]assignedDomains); -} + ProtectionDomain[] combine(ProtectionDomain[] currentDomains, + ProtectionDomain[] assignedDomains); +} // interface DomainCombiner |
