janb        2003/11/27 02:33:48

  Modified:    modules/core/src/java/org/apache/geronimo/security/providers
                        SQLLoginModule.java
  Log:
  Fixed what looks like a cut and paste error: was referencing wrong type of 
UserPrincipal.
  
  Revision  Changes    Path
  1.2       +2 -2      
incubator-geronimo/modules/core/src/java/org/apache/geronimo/security/providers/SQLLoginModule.java
  
  Index: SQLLoginModule.java
  ===================================================================
  RCS file: 
/home/cvs/incubator-geronimo/modules/core/src/java/org/apache/geronimo/security/providers/SQLLoginModule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SQLLoginModule.java       18 Nov 2003 05:17:18 -0000      1.1
  +++ SQLLoginModule.java       27 Nov 2003 10:33:48 -0000      1.2
  @@ -105,7 +105,7 @@
       }
   
       public boolean commit() throws LoginException {
  -        subject.getPrincipals().add(new 
PropertiesFileUserPrincipal(username));
  +        subject.getPrincipals().add(new SQLUserPrincipal(username));
   
           return true;
       }
  
  
  

Reply via email to