[jboss-cvs] jboss-portal/core/src/main/org/jboss/portal/core/command ...
Julien Viet
julien at jboss.com
Wed Jul 19 10:41:38 EDT 2006
User: julien
Date: 06/07/19 10:41:38
Modified: core/src/main/org/jboss/portal/core/command
MarkupCommand.java
Log:
show access denied when instance is not secured
Revision Changes Path
1.34 +2 -2 jboss-portal/core/src/main/org/jboss/portal/core/command/MarkupCommand.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MarkupCommand.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/main/org/jboss/portal/core/command/MarkupCommand.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -b -r1.33 -r1.34
--- MarkupCommand.java 18 Jul 2006 22:29:27 -0000 1.33
+++ MarkupCommand.java 19 Jul 2006 14:41:37 -0000 1.34
@@ -81,7 +81,7 @@
* RenderPageCommand and the RenderRegionCommand.</p>
*
* @author <a href="mailto:mholzner at novell.com">Martin Holzner</a>
- * @version $Revision: 1.33 $
+ * @version $Revision: 1.34 $
*/
public abstract class MarkupCommand extends PortalObjectCommand
{
@@ -584,7 +584,7 @@
else if (result instanceof InsufficientPrivilegesResult)
{
// Julien : go to the section below, I know it is very ugly
- throw new ObjectNotFoundException(windowRef);
+ throw new ObjectSecurityException(windowRef);
}
else
{
More information about the jboss-cvs-commits
mailing list