Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/noear/solon_auth_demo
solon_auth_demo
https://github.com/noear/solon_auth_demo
Last synced: 6 days ago
JSON representation
solon_auth_demo
- Host: GitHub
- URL: https://github.com/noear/solon_auth_demo
- Owner: noear
- License: apache-2.0
- Created: 2021-06-12T10:58:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T04:33:35.000Z (about 1 year ago)
- Last Synced: 2023-11-01T05:26:06.078Z (about 1 year ago)
- Language: Java
- Size: 598 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Solon Java Framework
Java 新的生态,更小、更快、更简单!
启动快 5 ~ 10 倍;qps 高 2~ 3 倍;运行时内存节省 1/3 ~ 1/2;打包可以缩到 1/2 ~ 1/10
## solon_auth_demo
#### 授权标签
demo_beetl 示例:
```html
<#authPermissions name="user:del">
我有user:del权限
#authPermissions><#authRoles name="admin">
我有admin角色
#authRoles>
```demo_enjoy 示例:
```html
#authPermissions("user:del")
我有user:del权限
#end#authRoles("admin")
我有admin角色
#end
```demo_thymeleaf 示例:
```html
我有user:del权限
我有admin角色
```
demo_freemarker 示例:
```html
<@authPermissions name="user:del">
我有user:del权限
@authPermissions><@authRoles name="admin">
我有admin角色
@authRoles>
```demo_velocity 示例:
```html
#authPermissions("user:del")
我有user:del权限
#end#authRoles("admin")
我有admin角色
#end
```demo_jsp 示例:
```html
我有user:del权限
我有admin角色
```