Class WebExpressionAuthorizationManager.Builder

java.lang.Object
org.springframework.security.web.access.expression.WebExpressionAuthorizationManager.Builder
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
Enclosing class:
WebExpressionAuthorizationManager

public static final class WebExpressionAuthorizationManager.Builder extends Object implements org.springframework.context.ApplicationContextAware
A WebExpressionAuthorizationManager.Builder for constructing WebExpressionAuthorizationManager instances.

May be reused to create multiple instances.

Since:
7.0
  • Method Details

    • expression

      public WebExpressionAuthorizationManager expression(String expression)
      Create a WebExpressionAuthorizationManager using this expression
      Parameters:
      expression - the expression to evaluate
      Returns:
      the resulting AuthorizationManager
    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException