Results 1 to 2 of 2

Thread: How to write global-method-security in beans

  1. #1
    Join Date
    Nov 2009
    Posts
    7

    Default How to write global-method-security in beans

    For many spring namespaces the documentation contains the 'bean' configuration. If someone needs some specific tweaks, they can use the bean configuration.

    What beans do I have to setup to get the same functionality as:

    Code:
    <global-method-security secured-annotations="enabled" />
    Final goal is that I want to use another then the default 'DelegatingMethodSecurityMetadataSource', so I can add a method to clear the cache. But I think it would be nice if I could tweak any part of the 'global-method-security'.


    Thanks,

    Erik

  2. #2
    Join Date
    Jan 2010
    Posts
    3

    Default

    You can try to take a look at GlobalMethodSecurityBeanDefinitionParser in package org.springframework.security.config.method.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •