User: d_jencks
  Date: 02/04/08 16:13:46

  Modified:    src/main/org/jboss/resource/security
                        ConfiguredIdentityLoginModule.java
  Log:
  made a better error message when bad config encountered
  
  Revision  Changes    Path
  1.2       +2 -1      
jbosscx/src/main/org/jboss/resource/security/ConfiguredIdentityLoginModule.java
  
  Index: ConfiguredIdentityLoginModule.java
  ===================================================================
  RCS file: 
/cvsroot/jboss/jbosscx/src/main/org/jboss/resource/security/ConfiguredIdentityLoginModule.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ConfiguredIdentityLoginModule.java        24 Mar 2002 21:44:31 -0000      1.1
  +++ ConfiguredIdentityLoginModule.java        8 Apr 2002 23:13:45 -0000       1.2
  @@ -39,7 +39,7 @@
    *
    * @author [EMAIL PROTECTED]
    * @author <a href="mailto:[EMAIL PROTECTED]";>David Jencks</a>
  - * @version $Revision: 1.1 $
  + * @version $Revision: 1.2 $
    */
   public class ConfiguredIdentityLoginModule extends AbstractServerLoginModule
   {
  @@ -88,6 +88,7 @@
         }
         catch (Exception e)
         {
  +         log.error("The ConnectionManager mbean: " + managedConnectionFactoryName + 
" specified in a ConfiguredIdentityLoginModule could not be found.  ConnectionFactory 
will be unusable!");
            throw new IllegalArgumentException("Managed Connection Factory not found: 
" + managedConnectionFactoryName);
         } // end of try-catch
         log.info("got principal: " + principalName + ", username: " + userName + ", 
password: " + password + ", mcfname: " + managedConnectionFactoryName);
  
  
  

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Sponsored by http://www.ThinkGeek.com/

Reply via email to