Announcement Announcement Module
Collapse
No announcement yet.
how to do custom-filter with annotations Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to do custom-filter with annotations

    Hi

    I am using spring 2.5.6-SEC01.

    How can I achieve the following with annotations?

    Code:
    <beans:bean id="securityContextFilter" class="com.workscape.admin.SecurityContextFilter">
        	<custom-filter after="PRE_AUTH_FILTER"/>
        	<beans:property name="customerContext" ref="customerContext"/>
        </beans:bean>
    the customer context can be autowired into SecurityContextFilter using @Autowired annotation, the filter itself what annotation should I use there? @Service or @Filter (or something like that)

    TIA
    Srikanth

  • #2
    The short answer is, I don't believe you can.

    Comment


    • #3
      Thanks for the answer pmularien.

      Is it planned for any future releases? Or is it available in newer versions (than 2.0.5).

      I am using spring-security 2.0.4 and spring 2.5.6-SEC01

      Thanks again.

      Comment

      Working...
      X