Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I define the secured URLs withing an application dynamically?

0
Posted

How do I define the secured URLs withing an application dynamically?

0

People often ask about how to store the mapping between secured URLs and security metadata attributes in a database, rather than in the application context. The first thing you should ask yourself is if you really need to do this. If an application requires securing, then it also requires that the security be tested thoroughly based on a defined policy. It may require auditing and acceptance testing before being rolled out into a production environment. A security-conscious organization should be aware that the benefits of their diligent testing process could be wiped out instantly by allowing the security settings to be modified at runtime by changing a row or two in a configuration database. If you have taken this into account (perhaps using multiple layers of security within your application) then Spring Security allows you to fully customize the source of security metadata. You can make it fully dynamic if you choose. Both method and web security are protected by subclasses of Abst

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123