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

Shane Bryzak sbryzak at redhat.com
Wed Jan 2 22:51:04 EST 2008


  User: sbryzak2
  Date: 08/01/02 22:51:03

  Modified:    src/main/org/jboss/seam/security/jaas  SeamLoginModule.java
  Log:
  extend EntityController
  
  Revision  Changes    Path
  1.10      +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.9
  retrieving revision 1.10
  diff -u -b -r1.9 -r1.10
  --- SeamLoginModule.java	10 Dec 2007 16:24:23 -0000	1.9
  +++ SeamLoginModule.java	3 Jan 2008 03:51:03 -0000	1.10
  @@ -15,7 +15,6 @@
   import javax.security.auth.login.LoginException;
   import javax.security.auth.spi.LoginModule;
   
  -import org.jboss.seam.contexts.Contexts;
   import org.jboss.seam.core.Expressions.MethodExpression;
   import org.jboss.seam.log.LogProvider;
   import org.jboss.seam.log.Logging;
  @@ -139,8 +138,9 @@
         }
         else
         {
  -         throw new IllegalStateException("No authentication method defined - " +
  -               "please define <security:authenticate-method/> for <security:identity/> in components.xml");
  +         log.error("No authentication method defined - " +
  +               "please define authenticate-method for <security:identity/> in components.xml");
  +         throw new LoginException("No authentication method defined");
         }
   
      }
  
  
  



More information about the jboss-cvs-commits mailing list