New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Restricting the validation to a set of URL #88
Comments
Hello, Try setting the pattern like this I hope it helps |
Thanks Fernando for replying. Below some logs: |
Could you share with us your hdiv-config.xml? |
Here is the hdiv-config.xml:
Thanks again |
In Struts, you have to configure ValidatorFilter mapping for all requests: <url-pattern>/</url-pattern> Then, use startPages to configure the sections of the page you don't want to secure. |
Thanks Gotzon for this solution. Indeed it resolves my problem. |
Each start page is a java regex pattern that will be executed in every request. |
Hi,
I need to tell HDIV framework to protect only a set of URL (against CSRF attacks)
So for the ValidatorFilter I was trying the following url pattern: /functional/*
but it seems not worikng because I'm getting a NullPointerException just like in issue #45.
With the global pattern /* it works fine but this is not my wish.
I will really appreciate your help to get this working
The text was updated successfully, but these errors were encountered: