0

I use a @CustomFormAuthenticationMechanismDefinition to ask login and password to the users. When users are not allowed to view a JSF page, they receive a 404 error code. Shouldn't it be a 403 error code?

user1643352
  • 2,635
  • 2
  • 19
  • 25
  • How is this related to JSF? JSF has no knowledge of you using the Java EE 8 API – Kukeltje Apr 08 '19 at 20:58
  • I don't know. My application use JSF and the problem happened for navigations to JSF pages, so I gave the context in case it would be a useful information. – user1643352 Apr 09 '19 at 10:26
  • Then narrow it down... Does the same happen with plain JSP's? or even plain html files? Both not being processed by the JSF servlet... That is trouble shooting, debugging, develloping... – Kukeltje Apr 09 '19 at 11:29
  • The same with an HTML page, so I remove JSF. – user1643352 Apr 09 '19 at 13:49
  • Cheers... Remember things like this for next questions: Narrow things down by eliminating (=creating a '[mcve]) – Kukeltje Apr 09 '19 at 14:10

0 Answers0