org.jboss.portal.core.aspects.controller
Class PolicyEnforcementInterceptor

java.lang.Object
  extended by org.jboss.portal.server.impl.invocation.JBossInterceptor
      extended by org.jboss.portal.core.controller.ControllerInterceptor
          extended by org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor
All Implemented Interfaces:
Interceptor

public final class PolicyEnforcementInterceptor
extends ControllerInterceptor

This aspect enforces security policy for all commands.

Portal resources should only be accessible to individuals that are entitled to do so. This interceptor makes sure that the requested resource is available to the requesting subject, by utilizing the configured JACC Policy.

Version:
$LastChangedRevision: 7395 $, $LastChangedDate: 2007-06-11 13:31:36 +0200 (Mon, 11 Jun 2007) $
Author:
Field Summary
protected  boolean isTrace
          Trace .
 
Constructor Summary
PolicyEnforcementInterceptor()
           
 
Method Summary
 ControllerResponse invoke(ControllerCommand cmd)
           
 
Methods inherited from class org.jboss.portal.core.controller.ControllerInterceptor
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isTrace

protected boolean isTrace
Trace .

Constructor Detail

PolicyEnforcementInterceptor

public PolicyEnforcementInterceptor()
Method Detail

invoke

public ControllerResponse invoke(ControllerCommand cmd)
                          throws java.lang.Exception,
                                 InvocationException
Specified by:
invoke in class ControllerInterceptor
Parameters:
cmd -
Throws:
InvocationException
java.lang.Exception