Annotation Type SecuredAccess

    • Field Detail

      • EXPRESSION_NOT_SET

        static final String EXPRESSION_NOT_SET
        The default string used when no expression has been set.
    • Element Detail

      • value

        String value
        A Spring Security expression to control access.

        If both an expression and an evaluator are set, both must be satisfied to grant access.

        Returns:
        a Spring Security expression
        See Also:
        Expression-Based Access Control
        Default:
        "___NOT_SET___"
      • evaluator

        Class<? extends AccessEvaluator> evaluator
        A programmatic evaluator to control access.

        If both an expression and an evaluator are set, both must be satisfied to grant access.

        Returns:
        a AccessEvaluator
        Default:
        de.codecamp.vaadin.security.spring.access.SecuredAccess.NotSetAccessEvaluator.class
      • checkLayout

        boolean checkLayout
        Returns whether the parent layout chain should also be checked for access. Naturally, this is only applicable for routes and not endpoints.
        Returns:
        whether the parent layout chain should also be checked for access (where applicable)
        Default:
        true