geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject cvs commit: incubator-geronimo/specs/j2ee-jacc/src/java/javax/security/jacc PolicyContext.java
Date Sun, 30 May 2004 18:34:35 GMT
adc         2004/05/30 11:34:35

  Modified:    specs/j2ee-jacc/src/java/javax/security/jacc
                        PolicyContext.java
  Log:
  import cleanup
  
  Revision  Changes    Path
  1.5       +2 -4      incubator-geronimo/specs/j2ee-jacc/src/java/javax/security/jacc/PolicyContext.java
  
  Index: PolicyContext.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/specs/j2ee-jacc/src/java/javax/security/jacc/PolicyContext.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- PolicyContext.java	10 Mar 2004 09:59:53 -0000	1.4
  +++ PolicyContext.java	30 May 2004 18:34:35 -0000	1.5
  @@ -24,8 +24,6 @@
   package javax.security.jacc;
   
   import java.security.SecurityPermission;
  -import java.security.AccessControlContext;
  -import java.security.AccessController;
   import java.util.Hashtable;
   import java.util.Set;
   
  @@ -59,7 +57,7 @@
           handlerData.set(data);
       }
   
  -    public static void registerHandler(String key, PolicyContextHandler handler, boolean
replace) throws PolicyContextException {
  +    public static void registerHandler(String key, PolicyContextHandler handler, boolean
replace) {
           if (key == null) throw new IllegalArgumentException("Key must not be null");
           if (handler == null) throw new IllegalArgumentException("Handler must not be null");
           if (!replace && handlers.containsKey(key)) throw new IllegalArgumentException("A
handler has already been registered under '" + key + "' and replace is false.");
  
  
  

Mime
View raw message