Announcement Announcement Module
Collapse
No announcement yet.
don't understand objectDefinitionSource Page Title Module
Move Remove Collapse
This topic is closed
X
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • don't understand objectDefinitionSource

    <property name="objectDefinitionSource">
    <value>
    CONVERT_URL_TO_LOWERCASE_BEFORE_COMPARISON
    PATTERN_TYPE_APACHE_ANT
    /signup.html=ROLE_ANONYMOUS,admin,tomcat
    /passwordhint.html*=ROLE_ANONYMOUS,admin,tomcat
    /*.html*=admin,tomcat
    </value>
    </property>

    the objectDefinitionSource in interceptor is interface, how does it work?

  • #2
    Each concrete AbstractSecurityInterceptor implements its own getter and setter for ObjectDefinitionSource, using a marker interface as the property type (eg FilterInvocationDefinitionSource or MethodInvocationDefinitionSource). As per the standard JavaBean property editor system, the constant "Editor" is appended to the property type to locate a property editor on the classpath. The property editor then takes care of setting the property.

    Comment

    Working...
    X