Hi,

There is a problem with the send redirect in rest service in tomcat
container.

Ex. There is a rest service as http://localhost:9443/auth2/autheorize, If
we directs to /authentication/login.do from above service, it redirects to
http://localhost:9443/auth2/authentication/login.do but it should redirects
to http://localhost:9443/authentication/login.do

Note. There is a servlet SAMLSSOProviderServlet with the url pattern
/samlsso. and if we redirect to /authentication/login.do , it redirects to
http://localhost:9443/authentication/login.do and its working as expected
according to [1].

Any reason for this behavior in rest service ?

[1]
https://tomcat.apache.org/tomcat-5.5-doc/servletapi/javax/servlet/http/HttpServletResponse.html#sendRedirect(java.lang.String)


Thanks
Godwin


-- 
*Godwin Amila Shrimal*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: *+94772264165*
linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
twitter: https://twitter.com/godwinamila
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to