Forums de discussion

How can I visit the custom url (/c/sys/view) not be filter to login page

h w, modifié il y a 13 années.

How can I visit the custom url (/c/sys/view) not be filter to login page

Junior Member Publications: 36 Date d'inscription: 25/08/09 Publications récentes
hello every one
Please help me, I create a action named /c/sys/view ,but when I visited it It always be route to login page, How can I visit the custom url (/c/sys/view) not be filter to login page please help me!!
h w, modifié il y a 13 années.

RE: How can I visit the custom url (/c/sys/view) not be filter to login pag

Junior Member Publications: 36 Date d'inscription: 25/08/09 Publications récentes
I have remove SecureFilter but it always route to login page
Oliver Bayer, modifié il y a 13 années.

RE: How can I visit the custom url (/c/sys/view) not be filter to login pag

Liferay Master Publications: 894 Date d'inscription: 18/02/09 Publications récentes
Hi,

you can set breakpoints to see which filter is getting called. Then you can override the method if your custom url is called. Take a look at the following code snippet from the CASFilter, change the condition to check your url and skip the filtering:
String pathInfo = request.getPathInfo();
if (pathInfo.indexOf("/portal/logout") != -1) {
...

HTH Oli
h w, modifié il y a 13 années.

RE: How can I visit the custom url (/c/sys/view) not be filter to login pag

Junior Member Publications: 36 Date d'inscription: 25/08/09 Publications récentes
Thanks Oliver Bayer !

I have remove all filters, but the url(/c/sys/view) is been route to login page again,Any one ment the program?