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/test/org/apache/geronimo/security/network/protocol SubjectCarryingProtocolTest.java
Date Sun, 30 May 2004 18:39:12 GMT
adc         2004/05/30 11:39:12

  Modified:    modules/security/src/test/org/apache/geronimo/security/network/protocol
                        SubjectCarryingProtocolTest.java
  Log:
  Options are now Properties instead of HashMap.
  
  Revision  Changes    Path
  1.10      +3 -4      incubator-geronimo/modules/security/src/test/org/apache/geronimo/security/network/protocol/SubjectCarryingProtocolTest.java
  
  Index: SubjectCarryingProtocolTest.java
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/security/src/test/org/apache/geronimo/security/network/protocol/SubjectCarryingProtocolTest.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- SubjectCarryingProtocolTest.java	30 May 2004 01:27:36 -0000	1.9
  +++ SubjectCarryingProtocolTest.java	30 May 2004 18:39:12 -0000	1.10
  @@ -21,7 +21,6 @@
   import javax.security.auth.Subject;
   import javax.security.auth.login.Configuration;
   import javax.security.auth.login.LoginContext;
  -
   import java.io.File;
   import java.net.InetSocketAddress;
   import java.net.URI;
  @@ -29,8 +28,8 @@
   import java.security.PrivilegedActionException;
   import java.security.PrivilegedExceptionAction;
   import java.util.ArrayList;
  -import java.util.HashMap;
   import java.util.Collections;
  +import java.util.Properties;
   
   import EDU.oswego.cs.dl.util.concurrent.Latch;
   import com.sun.security.auth.login.ConfigFile;
  @@ -293,7 +292,7 @@
           gbean.setAttribute("JAASId", "properties");
           gbean.setAttribute("RealmName", "properties-realm");
           gbean.setAttribute("ControlFlag", LoginModuleControlFlag.REQUIRED);
  -        gbean.setAttribute("Options", new HashMap());
  +        gbean.setAttribute("Options", new Properties());
           kernel.loadGBean(propertiesCE, gbean);
   
           kernel.startGBean(propertiesRealm);
  
  
  

Mime
View raw message