1 parent 05356f8 commit 57cc5e9Copy full SHA for 57cc5e9
pom.xml
@@ -5,7 +5,7 @@
5
6
<groupId>org.lowcoder.plugin</groupId>
7
<artifactId>lowcoder-plugin-api</artifactId>
8
- <version>2.1.0</version>
+ <version>2.3.0</version>
9
10
<name>lowcoder-plugin-api</name>
11
<description>Lowcoder shared plugin interfaces</description>
src/main/java/org/lowcoder/plugin/api/EndpointExtension.java
@@ -34,12 +34,7 @@
34
Method method() default Method.GET;
35
36
/**
37
- * @return True if this endpoint should be secured
+ * @return Endpoint will be secured by this SPeL expression. Empty expression means not secured.
38
*/
39
- boolean authenticated() default false;
40
-
41
- /**
42
- * @return Security SPeL expression (in case authenticated is set to true)
43
- */
44
- String expression() default "";
+ String authorize() default "";
45
}
0 commit comments