Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit57cc5e9

Browse files
committed
new: reworked authorization on EndpointExtension
1 parent05356f8 commit57cc5e9

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

‎pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>org.lowcoder.plugin</groupId>
77
<artifactId>lowcoder-plugin-api</artifactId>
8-
<version>2.1.0</version>
8+
<version>2.3.0</version>
99

1010
<name>lowcoder-plugin-api</name>
1111
<description>Lowcoder shared plugin interfaces</description>

‎src/main/java/org/lowcoder/plugin/api/EndpointExtension.java‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,7 @@
3434
Methodmethod()defaultMethod.GET;
3535

3636
/**
37-
* @returnTrue ifthisendpoint should besecured
37+
* @returnEndpoint will be secured bythisSPeL expression. Empty expression means notsecured.
3838
*/
39-
booleanauthenticated()defaultfalse;
40-
41-
/**
42-
* @return Security SPeL expression (in case authenticated is set to true)
43-
*/
44-
Stringexpression()default"";
39+
Stringauthorize()default"";
4540
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp