Author: thomas.heute(a)jboss.com
Date: 2007-09-04 09:36:36 -0400 (Tue, 04 Sep 2007)
New Revision: 8147
Modified:
branches/JBoss_Portal_Branch_2_6/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java
Log:
Add the CMS Exception back, still needs a better error handling though
Modified:
branches/JBoss_Portal_Branch_2_6/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java
===================================================================
---
branches/JBoss_Portal_Branch_2_6/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java 2007-09-04
13:35:27 UTC (rev 8146)
+++
branches/JBoss_Portal_Branch_2_6/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java 2007-09-04
13:36:36 UTC (rev 8147)
@@ -251,8 +251,7 @@
username = user.getUserName();
}
log.debug("Unauthorized command (" + invocation + ") for user:
" + username);
-// throw new CMSException("Access to this resource is denied");
- return null;
+ throw new CMSException("Access to this resource is denied");
}
}
else
Show replies by date