[jboss-cvs] jboss-seam/src/main/org/jboss/seam/interceptors ...

Shane Bryzak Shane_Bryzak at symantec.com
Mon Jan 8 07:47:59 EST 2007


  User: sbryzak2
  Date: 07/01/08 07:47:59

  Modified:    src/main/org/jboss/seam/interceptors 
                        SecurityInterceptor.java
  Log:
  finished JAAS authentication changes
  
  Revision  Changes    Path
  1.16      +3 -4      jboss-seam/src/main/org/jboss/seam/interceptors/SecurityInterceptor.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: SecurityInterceptor.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/interceptors/SecurityInterceptor.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -b -r1.15 -r1.16
  --- SecurityInterceptor.java	21 Dec 2006 02:38:27 -0000	1.15
  +++ SecurityInterceptor.java	8 Jan 2007 12:47:59 -0000	1.16
  @@ -33,9 +33,8 @@
   
         if (r != null)
         {
  -         Identity identity = Identity.instance();
  -         if (!identity.isValid())
  -            throw new SecurityException("Invalid identity");
  +         if (!Identity.loggedIn())
  +            throw new SecurityException("Not logged in");
   
            if (!SeamSecurityManager.instance().evaluateExpression(r.value()))
               throw new SecurityException(String.format(
  
  
  



More information about the jboss-cvs-commits mailing list