/[classpath]/classpath/java/security/DomainCombiner.java
ViewVC logotype

Diff of /classpath/java/security/DomainCombiner.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.5 by ericb, Fri Mar 29 08:30:51 2002 UTC
# Line 1  Line 1 
1  /* DomainCombiner.java - Combines ProtectionDomains  /* DomainCombiner.java -- Combines ProtectionDomains
2     Copyright (C) 1999 Free Software Foundation, Inc.     Copyright (C) 1999, 2002 Free Software Foundation, Inc.
3    
4  This file is part of GNU Classpath.  This file is part of GNU Classpath.
5    
# Line 38  exception statement from your version. * Line 38  exception statement from your version. *
38  package java.security;  package java.security;
39    
40  /**  /**
41     A public interface used to combine two ProtectionDomains in a new   * A public interface used to combine two ProtectionDomains in a new
42     ProtectionDomain and update the current Protection Domains   * ProtectionDomain and update the current Protection Domains
43     associated with the current AccessControllerContext.   * associated with the current AccessControlContext.
44     *
45     It can add, subtract, or update ProtectionDomains or possibly   * It can add, subtract, or update ProtectionDomains or possibly
46     remove duplicates or any possible complex action but just not add   * remove duplicates or any possible complex action but just not add
47     ones that do not already exist in either array.   * ones that do not already exist in either array.
48     *
49     @since JDK 1.3   * @author Mark Benvenuto
50     @author Mark Benvenuto   * @see AccessControlContext
51     * @see AccessController
52     * @since 1.3
53     * @status updated to 1.4
54   */   */
55  public interface DomainCombiner  public interface DomainCombiner
56  {  {
57    /**    /**
58       Combines the current ProtectionDomains of the Thread with new     * Combines the current ProtectionDomains of the Thread with new
59       ProtectionDomains.     * ProtectionDomains.
60       *
61       @param currentDomains - the ProtectionDomains for the current thread.     * @param currentDomains - the ProtectionDomains for the current thread.
62       @param assignedDomains - ProtectionsDomains to add     * @param assignedDomains - ProtectionsDomains to add
63       @returns a new array of all the ProtectionDomains     * @return a new array of all the ProtectionDomains
64     */     */
65    public ProtectionDomain[] combine(ProtectionDomain[]currentDomains,    ProtectionDomain[] combine(ProtectionDomain[] currentDomains,
66                                      ProtectionDomain[]assignedDomains);                               ProtectionDomain[] assignedDomains);
67  }  } // interface DomainCombiner

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26