{"action":"created","issue":{"url":"https://api.github.com/repos/hdiv/hdiv/issues/88","labels_url":"https://api.github.com/repos/hdiv/hdiv/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/hdiv/hdiv/issues/88/comments","events_url":"https://api.github.com/repos/hdiv/hdiv/issues/88/events","html_url":"https://github.com/hdiv/hdiv/issues/88","id":121883548,"number":88,"title":"Restricting the validation to a set of URL","user":{"login":"camlizo","id":16270325,"avatar_url":"https://avatars.githubusercontent.com/u/16270325?v=3","gravatar_id":"","url":"https://api.github.com/users/camlizo","html_url":"https://github.com/camlizo","followers_url":"https://api.github.com/users/camlizo/followers","following_url":"https://api.github.com/users/camlizo/following{/other_user}","gists_url":"https://api.github.com/users/camlizo/gists{/gist_id}","starred_url":"https://api.github.com/users/camlizo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camlizo/subscriptions","organizations_url":"https://api.github.com/users/camlizo/orgs","repos_url":"https://api.github.com/users/camlizo/repos","events_url":"https://api.github.com/users/camlizo/events{/privacy}","received_events_url":"https://api.github.com/users/camlizo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-12T22:04:41Z","updated_at":"2015-12-14T10:54:04Z","closed_at":null,"body":"Hi, \r\n\r\nI need to tell HDIV framework to protect only a set of URL (against CSRF attacks)\r\n\r\nSo for the ValidatorFilter I was trying the following url pattern:  /functional/* \r\nbut it seems not worikng because I'm getting a NullPointerException just like in issue #45.\r\n\r\nWith the global pattern /* it works fine but this is not my wish.\r\n\r\nI will really appreciate your help to get this working"},"comment":{"url":"https://api.github.com/repos/hdiv/hdiv/issues/comments/164408156","html_url":"https://github.com/hdiv/hdiv/issues/88#issuecomment-164408156","issue_url":"https://api.github.com/repos/hdiv/hdiv/issues/88","id":164408156,"user":{"login":"gillarramendi","id":503110,"avatar_url":"https://avatars.githubusercontent.com/u/503110?v=3","gravatar_id":"","url":"https://api.github.com/users/gillarramendi","html_url":"https://github.com/gillarramendi","followers_url":"https://api.github.com/users/gillarramendi/followers","following_url":"https://api.github.com/users/gillarramendi/following{/other_user}","gists_url":"https://api.github.com/users/gillarramendi/gists{/gist_id}","starred_url":"https://api.github.com/users/gillarramendi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gillarramendi/subscriptions","organizations_url":"https://api.github.com/users/gillarramendi/orgs","repos_url":"https://api.github.com/users/gillarramendi/repos","events_url":"https://api.github.com/users/gillarramendi/events{/privacy}","received_events_url":"https://api.github.com/users/gillarramendi/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T10:54:04Z","updated_at":"2015-12-14T10:54:04Z","body":"In Struts, you have to configure ValidatorFilter mapping for all requests:\r\n```xml\r\n<url-pattern>/</url-pattern>\r\n```\r\nThen, use startPages to configure the sections of the page you don't want to secure.\r\n"}}