[jboss-cvs] jboss-seam/src/main/org/jboss/seam/security/jaas ...

Shane Bryzak sbryzak at redhat.com
Sun May 27 05:24:38 EDT 2007


  User: sbryzak2
  Date: 07/05/27 05:24:38

  Modified:    src/main/org/jboss/seam/security/jaas  SeamLoginModule.java
  Log:
  JBSEAM-743
  
  Revision  Changes    Path
  1.6       +3 -3      jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SeamLoginModule.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- SeamLoginModule.java	1 May 2007 16:43:53 -0000	1.5
  +++ SeamLoginModule.java	27 May 2007 09:24:38 -0000	1.6
  @@ -94,7 +94,7 @@
         catch (Exception ex)
         {
            log.error("Error logging in", ex);
  -         return false;
  +         throw new LoginException(ex.getMessage());
         }
         
         MethodExpression mb = Identity.instance().getAuthenticateMethod();
  @@ -103,10 +103,10 @@
         {
           return (Boolean) mb.invoke();      
         }
  -      catch (RuntimeException ex)
  +      catch (Exception ex)
         {
            log.error("Error invoking login method", ex);
  -         return false;
  +         throw new LoginException(ex.getMessage());
         }
      }
   
  
  
  



More information about the jboss-cvs-commits mailing list