Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 9. Securing Spring > Securing methods

9.5. Securing methods

As I’ve hinted at before, security is an aspect-oriented concept. And Spring AOP is the basis for method-level security in Spring Security. But for the most part you’ll never need to deal with Spring Security’s aspects directly. All of the AOP involved in securing methods is packed into a single element: <global-method-security>. Here’s a common way of using <global-method-security>.

<global-method-security secured-annotations="enabled" />


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial