About Question enthuware.jwpv6.2.644 :

Moderator: admin

Post Reply
alex
Posts: 42
Joined: Tue Feb 12, 2013 4:35 pm
Contact:

About Question enthuware.jwpv6.2.644 :

Post by alex »

Hi,

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

Regards,
Alex

rishi2616
Posts: 3
Joined: Sat Apr 14, 2018 12:16 pm
Contact:

Re: About Question enthuware.jwpv6.2.644 :

Post 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

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests