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/modules/security/src/java/org/apache/geronimo/security SecurityService.java
Date Thu, 24 Jun 2004 02:30:23 GMT
adc         2004/06/23 19:30:23

  Modified:    modules/security/src/java/org/apache/geronimo/security
                        SecurityService.java
  Log:
  GERONIMO-252
  
  Don't really need to save the old policy file.
  
  Revision  Changes    Path
  1.11      +1 -6      incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/SecurityService.java
  
  Index: SecurityService.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/SecurityService.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- SecurityService.java	13 Jun 2004 16:59:02 -0000	1.10
  +++ SecurityService.java	24 Jun 2004 02:30:23 -0000	1.11
  @@ -57,8 +57,6 @@
       private Collection realms = Collections.EMPTY_SET;
       private Collection moduleConfigurations = Collections.EMPTY_SET;
   
  -    private Policy oldPolicy;
  -
   
       /**
        * Permissions that protect access to sensitive security information
  @@ -122,7 +120,6 @@
   
   
       public void doStart() throws WaitingException, Exception {
  -        oldPolicy = Policy.getPolicy();
           PolicyConfigurationFactory factory = PolicyConfigurationFactory.getPolicyConfigurationFactory();
           Policy.setPolicy(new GeronimoPolicy(factory));
   
  @@ -130,8 +127,6 @@
       }
   
       public void doStop() throws WaitingException, Exception {
  -        Policy.setPolicy(oldPolicy);
  -
           log.info("Security service stopped");
       }
   
  
  
  

Mime
View raw message