I am using Spring Security 3 for Authorization. By default if user does not mention any pattern in intercept url tag then Spring does not restrict that user from accessing that url. I want to restrict this default behavior of Spring Security programatically. I dont want to use denyAll in Sprig Security xml.
My requirement is whenever any Authenticated user tries to access any url,first I want to manually check whether that URL is present in Spring Security xml. If it is there then I will ask Spring to follow its normal Authorization process; but if URL is not there then I want to restrict user access for that URL. Please help me out to meet my requirement.