Example usage for org.springframework.security.config Elements INTERCEPT_METHODS

List of usage examples for org.springframework.security.config Elements INTERCEPT_METHODS

Introduction

In this page you can find the example usage for org.springframework.security.config Elements INTERCEPT_METHODS.

Prototype

String INTERCEPT_METHODS

To view the source code for org.springframework.security.config Elements INTERCEPT_METHODS.

Click Source Link

Usage

From source file:org.springframework.security.config.SecurityNamespaceHandler.java

public BeanDefinitionHolder decorate(Node node, BeanDefinitionHolder definition, ParserContext pc) {
    String name = pc.getDelegate().getLocalName(node);

    // We only handle elements
    if (node instanceof Element) {
        if (Elements.INTERCEPT_METHODS.equals(name)) {
            return interceptMethodsBDD.decorate(node, definition, pc);
        }//  w  ww. j a  va2  s. c om

        if (Elements.FILTER_CHAIN_MAP.equals(name)) {
            if (filterChainMapBDD == null) {
                loadParsers();
            }
            if (filterChainMapBDD == null) {
                reportMissingWebClasses(name, pc, node);
            }
            return filterChainMapBDD.decorate(node, definition, pc);
        }
    }

    reportUnsupportedNodeType(name, pc, node);

    return null;
}