Will not. Servlet container processes this and is not cdi friendly. Le 8 déc. 2015 23:55, "Lars-Fredrik Smedberg" <[email protected]> a écrit :
> Hi! > > If I add e.g. a @ServletSecurity annotation (with values from e.g. an > external configuration file) to a class extending HttpServlet that is not > annotated in a CDI Extension (...@Observes ProcessAnnotatedType...) will > the servlet container then pick it up and enforce the security added? > > If so is this something that will work in any JEE6/JEE7 app server? > > Regards > Lars-Fredrik > > -- > Med vänlig hälsning / Best regards > > Lars-Fredrik Smedberg > > STATEMENT OF CONFIDENTIALITY: > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > address(es) and may contain confidential or privileged information. If > you are not the intended recipient, please notify Lars-Fredrik Smedberg > immediately at [email protected], and destroy all copies of this > message and any attachments. >
