Class DefaultVaadinSecurityExpressionHandler

java.lang.Object
org.springframework.security.access.expression.AbstractSecurityExpressionHandler<com.vaadin.flow.server.VaadinServletRequest>
de.codecamp.vaadin.security.spring.access.DefaultVaadinSecurityExpressionHandler
All Implemented Interfaces:
VaadinSecurityExpressionHandler, org.springframework.aop.framework.AopInfrastructureBean, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.security.access.expression.SecurityExpressionHandler<com.vaadin.flow.server.VaadinServletRequest>

public class DefaultVaadinSecurityExpressionHandler extends org.springframework.security.access.expression.AbstractSecurityExpressionHandler<com.vaadin.flow.server.VaadinServletRequest> implements VaadinSecurityExpressionHandler
The standard implementation of VaadinSecurityExpressionHandler.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, com.vaadin.flow.server.VaadinServletRequest request)
     
    void
    setDefaultRolePrefix(String defaultRolePrefix)
     
    void
    setTrustResolver(org.springframework.security.authentication.AuthenticationTrustResolver trustResolver)
     

    Methods inherited from class org.springframework.security.access.expression.AbstractSecurityExpressionHandler

    createEvaluationContext, createEvaluationContextInternal, getBeanResolver, getExpressionParser, getPermissionEvaluator, getRoleHierarchy, setApplicationContext, setExpressionParser, setPermissionEvaluator, setRoleHierarchy

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.security.access.expression.SecurityExpressionHandler

    createEvaluationContext, createEvaluationContext, getExpressionParser
  • Constructor Details

    • DefaultVaadinSecurityExpressionHandler

      public DefaultVaadinSecurityExpressionHandler()
  • Method Details

    • createSecurityExpressionRoot

      public VaadinSecurityExpressionRoot createSecurityExpressionRoot(org.springframework.security.core.Authentication authentication, com.vaadin.flow.server.VaadinServletRequest request)
      Specified by:
      createSecurityExpressionRoot in interface VaadinSecurityExpressionHandler
      Specified by:
      createSecurityExpressionRoot in class org.springframework.security.access.expression.AbstractSecurityExpressionHandler<com.vaadin.flow.server.VaadinServletRequest>
    • setTrustResolver

      public void setTrustResolver(org.springframework.security.authentication.AuthenticationTrustResolver trustResolver)
    • setDefaultRolePrefix

      public void setDefaultRolePrefix(String defaultRolePrefix)