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

CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

SOLVED
seanccc
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

Re: CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

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

View solution in original post

2 REPLIES 2

Re: CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

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

View solution in original post

Re: CustomAuthenticator doesn't work for URL /Thingworx/FormLogin

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

Announcements

Check out the upcoming Expert Session: Understanding ThingWorx Navigate Licensing in Community "Customer Events" section.