1

I want to restrict access to the whole application <url-pattern>/*</url-pattern> But not to some Servlets. They should be public.

Is there a way to do that easily (I imagine some exclusion or maybe overriding?) or do I have to arrange files in subfolders and allow access to one while restricting to the other?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
niklas
  • 2,887
  • 3
  • 38
  • 70

1 Answers1

2

Is there a way to do that easily (I imagine some exclusion or maybe overriding?)

No.


or do I have to arrange files in subfolders and allow access to one while restricting to the other?

Yes.

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555