1 Star 2 Fork 0

noear / solon_auth_demo

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Solon for java

更现代感的,轻量级应用开发框架

https://solon.noear.org

Maven Apache 2 jdk-8+
gitee star github star



启动快 5 ~ 10 倍;qps 高 2~ 3 倍;运行时内存节省 1/3 ~ 1/2;打包可以缩到 1/2 ~ 1/10


solon_auth_demo

授权标签

demo_beetl 示例:

<#authPermissions name="user:del">
我有user:del权限
</#authPermissions>

<#authRoles name="admin">
我有admin角色
</#authRoles>

demo_enjoy 示例:

#authPermissions("user:del")
我有user:del权限
#end

#authRoles("admin")
我有admin角色
#end

demo_thymeleaf 示例:

<auth:permissions name="user:del">
    我有user:del权限
</auth:permissions>

<auth:roles name="admin">
    我有admin角色
</auth:roles>

demo_freemarker 示例:

<@authPermissions name="user:del">
我有user:del权限
</@authPermissions>

<@authRoles name="admin">
我有admin角色
</@authRoles>

demo_velocity 示例:

#authPermissions("user:del")
我有user:del权限
#end

#authRoles("admin")
我有admin角色
#end

demo_jsp 示例:

<auth:permissions name="user:del">
我有user:del权限
</auth:permissions>

<auth:roles name="admin">
我有admin角色
</auth:roles>

About

No description expand collapse
Java and 3 more languages
Apache-2.0
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/noear/solon_auth_demo.git
git@gitee.com:noear/solon_auth_demo.git
noear
solon_auth_demo
solon_auth_demo
main

Search