Class MethodPermissionsMergingProcessor

java.lang.Object
org.jboss.as.ejb3.deployment.processors.merging.AbstractMergingProcessor<EJBComponentDescription>
org.jboss.as.ejb3.deployment.processors.merging.MethodPermissionsMergingProcessor
All Implemented Interfaces:
org.jboss.as.server.deployment.DeploymentUnitProcessor

public class MethodPermissionsMergingProcessor extends AbstractMergingProcessor<EJBComponentDescription>
Handles the RolesAllowed DenyAll PermitAll annotations

Also processes the <method-permission> elements of a Jakarta Enterprise Beans bean and sets up appropriate security permissions on the Jakarta Enterprise Beans bean.

This processor should be run *after* all the views of the Jakarta Enterprise Beans have been identified and set in the EJBComponentDescription

Author:
Stuart Douglas
  • Constructor Details

    • MethodPermissionsMergingProcessor

      public MethodPermissionsMergingProcessor()
  • Method Details

    • handleAnnotations

      protected void handleAnnotations(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, EEApplicationClasses applicationClasses, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription description) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Description copied from class: AbstractMergingProcessor
      Handle annotations relating to the component that have been found in the deployment. Will not be called if the deployment is metadata complete.
      Specified by:
      handleAnnotations in class AbstractMergingProcessor<EJBComponentDescription>
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException
    • handleDeploymentDescriptor

      protected void handleDeploymentDescriptor(org.jboss.as.server.deployment.DeploymentUnit deploymentUnit, org.jboss.as.server.deployment.reflect.DeploymentReflectionIndex deploymentReflectionIndex, Class<?> componentClass, EJBComponentDescription componentDescription) throws org.jboss.as.server.deployment.DeploymentUnitProcessingException
      Description copied from class: AbstractMergingProcessor
      Handle the deployment descriptor
      Specified by:
      handleDeploymentDescriptor in class AbstractMergingProcessor<EJBComponentDescription>
      Throws:
      org.jboss.as.server.deployment.DeploymentUnitProcessingException