Page 1 of 1

About Question enthuware.jwpv6.2.644 :

Posted: Thu Aug 01, 2013 3:37 pm
by alex
Hi,

the link is not valid now
http://pic.dhe.ibm.com/infocenter/wasin ... tions.html

Regards,
Alex

Re: About Question enthuware.jwpv6.2.644 :

Posted: Mon May 28, 2018 6:31 pm
by rishi2616
Hi,

Actually I have run some code to validate this, not sure if there was anything wrong with my experiments, however, I have found the below that the decreasing order of authority of security constraint declaration is this

<security-constraint> in web.xml --> @SecvletSecurity annotation --> setServletSecurity method of the ServletRegistration.Dynamic interface given the URL patterns applied to servlet match. Otherwise URL pattern in the web.xml and the security-constraint mentioned in the web.xml prevail.

Thanks,
Kingshuk