Re: 403 jsp - display required roles

2011-12-31 Thread Pid
On 29/12/2011 08:43, Jürgen Jakobitsch wrote: hi, i have a custom 403 error page. on that page i'd like to display the securityConstraints that apply to the requested resource. example : i have a securityConstraint in my web.xml that says that only users with role X are allowed to

403 jsp - display required roles

2011-12-29 Thread Jürgen Jakobitsch
hi, i have a custom 403 error page. on that page i'd like to display the securityConstraints that apply to the requested resource. example : i have a securityConstraint in my web.xml that says that only users with role X are allowed to view resource myPage. when someone tries to access myPage