cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

seanccc
17-Peridot

CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

Hi, 

I created a CustomAuthenticator and want to catch the login request to redirect to another page.  however, I found the request /Thingworx/FormLogin won't be intercepted by matchesAuthRequest

matchesAuthRequest(HttpServletRequest httpRequest)

that's strange,  the other GET request , for example both of /Thingworx/Home and /Thingworx/Composer can be intercepted by this method .  

Is the URL /Thingworx/FormLogin ignored by the servlet filter intently ? 

 

Regards,

Sean

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
seanccc
17-Peridot
(To:seanccc)

It's solved by adding AuthenticationFilter mapping url pattern "/FormLogin/*"  in tomcat's web.xml

View solution in original post

2 REPLIES 2
seanccc
17-Peridot
(To:seanccc)

It's solved by adding AuthenticationFilter mapping url pattern "/FormLogin/*"  in tomcat's web.xml

slangley
23-Emerald II
(To:seanccc)

Hi @seanccc.

 

Since you found the solution to your problem, please mark your response as the Accepted Solution for the benefit of others with the same issue.

 

Regards.

 

--Sharon

Top Tags