[seam-commits] Seam SVN: r8674 - trunk/src/wicket/org/jboss/seam/wicket.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Aug 13 07:48:40 EDT 2008


Author: shane.bryzak at jboss.com
Date: 2008-08-13 07:48:40 -0400 (Wed, 13 Aug 2008)
New Revision: 8674

Modified:
   trunk/src/wicket/org/jboss/seam/wicket/SeamAuthorizationStrategy.java
Log:
isInstantiationAuthorized() should always return false for AuthorizationException(s)

Modified: trunk/src/wicket/org/jboss/seam/wicket/SeamAuthorizationStrategy.java
===================================================================
--- trunk/src/wicket/org/jboss/seam/wicket/SeamAuthorizationStrategy.java	2008-08-13 11:39:44 UTC (rev 8673)
+++ trunk/src/wicket/org/jboss/seam/wicket/SeamAuthorizationStrategy.java	2008-08-13 11:48:40 UTC (rev 8674)
@@ -56,8 +56,7 @@
       }
       catch (org.jboss.seam.security.AuthorizationException e) 
       {
-         log.error("Unauthorized access to " + componentClass.getName(), e);
-         return handleException(componentClass);
+         return false;
       }
 
       return true;




More information about the seam-commits mailing list