Annotation Type SecuredRoute
-
@Target({TYPE,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface SecuredRoute
Can be used on Vaadin navigation targets to restrict access. Can also be used as meta-annotation to create reusable access rule annotations.
-
-
Field Summary
Fields Modifier and Type Fields Description static StringEXPRESSION_NOT_SETThe default string used when no expression has been set.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleancheckLayoutReturns whether theparent layout chainshould also be checked for access.Class<? extends AccessEvaluator>evaluatorAprogrammatic evaluatorto control access.StringvalueA Spring Security expression to control access.
-
-
-
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
Aprogrammatic evaluatorto 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.SecuredRoute.NotSetAccessEvaluator.class
-
-