Example usage for org.springframework.security.config.annotation ObjectPostProcessor postProcess

List of usage examples for org.springframework.security.config.annotation ObjectPostProcessor postProcess

Introduction

In this page you can find the example usage for org.springframework.security.config.annotation ObjectPostProcessor postProcess.

Prototype

<O extends T> O postProcess(O object);

Source Link

Document

Initialize the object possibly returning a modified instance that should be used instead.

Usage

From source file:org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration.java

@Autowired(required = false)
public void setObjectPostProcessor(ObjectPostProcessor<Object> objectPostProcessor) {
    this.objectPostProcessor = objectPostProcessor;
    this.defaultMethodExpressionHandler = objectPostProcessor.postProcess(defaultMethodExpressionHandler);
}