[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jboss-cvs-commits
Subject:    [jboss-cvs] jbosscx/src/main/org/jboss/resource/adapter/jdbc/local LocalManagedConnectionFactory.jav
From:       David Jencks <d_jencks () users ! sourceforge ! net>
Date:       2002-09-30 21:24:09
[Download RAW message or body]

  User: d_jencks
  Date: 02/09/30 14:24:09

  Modified:    src/main/org/jboss/resource/adapter/jdbc/local Tag:
                        Branch_3_2 LocalManagedConnectionFactory.java
  Log:
  Go back to obtaining mcf directly rather than as an mbean proxy.  This is needed to \
make the login modules work.  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.1  +1 -1      \
jbosscx/src/main/org/jboss/resource/adapter/jdbc/local/LocalManagedConnectionFactory.java
  
  Index: LocalManagedConnectionFactory.java
  ===================================================================
  RCS file: /cvsroot/jboss/jbosscx/src/main/org/jboss/resource/adapter/jdbc/local/LocalManagedConnectionFactory.java,v
  retrieving revision 1.11
  retrieving revision 1.11.2.1
  diff -u -r1.11 -r1.11.2.1
  --- LocalManagedConnectionFactory.java	22 Jul 2002 22:50:04 -0000	1.11
  +++ LocalManagedConnectionFactory.java	30 Sep 2002 21:24:08 -0000	1.11.2.1
  @@ -405,7 +405,7 @@
            for (Iterator i = subject.getPrivateCredentials().iterator(); \
i.hasNext(); )  {
               Object o = i.next();
  -            if (o instanceof PasswordCredential && \
((PasswordCredential)o).getManagedConnectionFactory() == this)   +            if (o \
instanceof PasswordCredential && \
((PasswordCredential)o).getManagedConnectionFactory().equals(this))   {
                  PasswordCredential cred = (PasswordCredential)o;
                  props.setProperty("user", (cred.getUserName() == null)? "": \
cred.getUserName());  
  
  


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
jboss-cvs-commits mailing list
jboss-cvs-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-cvs-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic