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/jaas ConfigurationEntry.java
Date Sun, 30 May 2004 18:31:25 GMT
adc         2004/05/30 11:31:25

  Modified:    modules/security/src/java/org/apache/geronimo/security/jaas
                        ConfigurationEntry.java
  Log:
  Made options Properties instead of HashMap so that it will work w/
  persistent GBeans.
  
  Revision  Changes    Path
  1.4       +5 -6      incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/jaas/ConfigurationEntry.java
  
  Index: ConfigurationEntry.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/java/org/apache/geronimo/security/jaas/ConfigurationEntry.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ConfigurationEntry.java	30 May 2004 01:27:35 -0000	1.3
  +++ ConfigurationEntry.java	30 May 2004 18:31:25 -0000	1.4
  @@ -19,8 +19,7 @@
   
   import javax.management.MBeanServer;
   import javax.security.auth.login.AppConfigurationEntry;
  -import java.util.HashMap;
  -import java.util.Map;
  +import java.util.Properties;
   
   import org.apache.geronimo.gbean.GAttributeInfo;
   import org.apache.geronimo.gbean.GBean;
  @@ -53,7 +52,7 @@
       protected GBeanMBeanContext context;
       protected String JAASId;
       protected LoginModuleControlFlag controlFlag;
  -    protected Map options = new HashMap();
  +    protected Properties options = new Properties();
   
       /**
        * Get the JAAS config id for this configuration entry.
  @@ -81,11 +80,11 @@
           this.controlFlag = controlFlag;
       }
   
  -    public Map getOptions() {
  +    public Properties getOptions() {
           return options;
       }
   
  -    public void setOptions(Map options) {
  +    public void setOptions(Properties options) {
           this.options = options;
       }
   
  
  
  

Mime
View raw message