Class BeanMethodInvocationGenerator


  • class BeanMethodInvocationGenerator
    extends Object
    • Constructor Detail

      • BeanMethodInvocationGenerator

        public BeanMethodInvocationGenerator​(org.jboss.jandex.IndexView index,
                                             Map<String,​org.jboss.jandex.DotName> springBeansNameToDotName,
                                             Map<String,​org.jboss.jandex.ClassInfo> springBeansNameToClassInfo,
                                             Set<String> beansReferencedInPreAuthorized,
                                             io.quarkus.gizmo.ClassOutput classOutput)
    • Method Detail

      • generateSecurityCheck

        final String generateSecurityCheck​(String expression,
                                           org.jboss.jandex.MethodInfo securedMethodInfo)
        Returns the name of the generated class that implements the security check The generated class is an implementation of AbstractBeanMethodSecurityCheck that simply calls the proper bean method with the correct arguments