Author: thomas.heute(a)jboss.com
Date: 2007-09-04 09:37:27 -0400 (Tue, 04 Sep 2007)
New Revision: 8148
Modified:
trunk/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: trunk/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java
===================================================================
---
trunk/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java 2007-09-04
13:36:36 UTC (rev 8147)
+++
trunk/cms/src/main/org/jboss/portal/cms/impl/interceptors/ACLInterceptor.java 2007-09-04
13:37:27 UTC (rev 8148)
@@ -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