theborakompanioni / Thymeleaf Extras Shiro
Licence: apache-2.0
A Thymeleaf dialect for Apache Shiro tags.
Stars: ✭ 281
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to Thymeleaf Extras Shiro
Spring Boot Study
about learning Spring Boot via examples. 基于 spring boot 2.x 的学习教程简洁易懂
Stars: ✭ 131 (-53.38%)
Mutual labels: spring, shiro, thymeleaf
Javaquarkbbs
基于Spring Boot实现的一个简易的Java社区
Stars: ✭ 755 (+168.68%)
Mutual labels: spring, shiro, thymeleaf
Ruoyi Oracle
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 134 (-52.31%)
Mutual labels: spring, shiro, thymeleaf
Ruoyi
(RuoYi)官方仓库 基于SpringBoot的权限管理系统 易读易懂、界面简洁美观。 核心技术采用Spring、MyBatis、Shiro没有任何其它重度依赖。直接运行即可用
Stars: ✭ 905 (+222.06%)
Mutual labels: spring, shiro, thymeleaf
Nimrod
Nimrod - 基于 Spring Boot 构建 的 Java Web 平台企业级单体应用快速开发框架,适合中小型项目的应用和开发。所采用的技术栈包括 Spring Boot、Spring、Spring Web MVC、MyBatis、Thymeleaf 等,遵守阿里巴巴 Java 开发规约,帮助养成良好的编码习惯。整体采用 RBAC ( Role-Based Access Control ,基于角色的访问控制),具有严格的权限控制模块,支持系统与模块分离开发。最后希望这个项目能够对你有所帮助。Nimrod 开发交流群:547252502(QQ 群)
Stars: ✭ 125 (-55.52%)
Mutual labels: spring, thymeleaf
Spring Cloud Microservices Development
Spring Cloud Microservices Development.《Spring Cloud 微服务架构开发实战》
Stars: ✭ 106 (-62.28%)
Mutual labels: spring, thymeleaf
Joice
Java分布式开发平台:Spring, Spring MVC, MyBatis, Dubbo, Redis, Shiro权限管理, Quartz分布式调度, RocketMQ通信, 本地缓存, Redis缓存, 分布式缓存, 分布式事务
Stars: ✭ 219 (-22.06%)
Mutual labels: spring, shiro
Wms
一个基于Spring MVC、Spring、MyBatis、Shiro框架的仓库管理系统Demo。A warehouse management system implement with Spring MVC, Spring Framework,MyBstis,Shiro and MySQL
Stars: ✭ 248 (-11.74%)
Mutual labels: spring, shiro
Spring Boot Blog
Simple blog web app made using Spring Boot + Thymeleaf
Stars: ✭ 121 (-56.94%)
Mutual labels: spring, thymeleaf
Ibase4j
Spring,SpringBoot 2.0,SpringMVC,Mybatis,mybatis-plus,motan/dubbo分布式,Redis缓存,Shiro权限管理,Spring-Session单点登录,Quartz分布式集群调度,Restful服务,QQ/微信登录,App token登录,微信/支付宝支付;日期转换、数据类型转换、序列化、汉字转拼音、身份证号码验证、数字转人民币、发送短信、发送邮件、加密解密、图片处理、excel导入导出、FTP/SFTP/fastDFS上传下载、二维码、XML读写、高精度计算、系统配置工具类等等。
Stars: ✭ 1,548 (+450.89%)
Mutual labels: spring, shiro
waynboot-sso
基于SpringBoot,Shiro,Redis,Mybatis,SSO的多模块系统,包含了SSO单点登陆, 通用后台管理,NewBee-mall商城,每日一文等多个模块,支持Shiro与SSO模块的集成,易于上手,学习,二次开发。
Stars: ✭ 33 (-88.26%)
Mutual labels: thymeleaf, shiro
Skill6 Website Backend
java进阶开发,高级版web项目。基于dubbo实现分布式微服务架构,基于spring boot、spring mvc、mybatis、docker、ELK、redis、vue.js、node.js等技术实现的技术分享交流网站。网站名称:技术流,英文名:skill6。主要功能有:登录注册、单点登录、restful设计、文章及评论、代码及资源下载、主题讨论等。持续更新中...
Stars: ✭ 140 (-50.18%)
Mutual labels: spring, shiro
SpringbootCRM
SpringbootCRM,后台管理模板,抽空持续完善(Github授权登录,微信测试号扫码登录)...
Stars: ✭ 37 (-86.83%)
Mutual labels: thymeleaf, shiro
Student Homework Management System
使用SSM+Shiro开发的学生作业管理系统。支持批量打包下载,QQ登陆等功能 生产版:
Stars: ✭ 79 (-71.89%)
Mutual labels: spring, shiro
Spring Boot Shopping Cart
Simple shopping cart web app made using Spring Boot + Thymeleaf
Stars: ✭ 85 (-69.75%)
Mutual labels: spring, thymeleaf
thymeleaf-extras-shiro
A Thymeleaf dialect for Apache Shiro tags.
Download
Maven
<dependency>
<groupId>com.github.theborakompanioni</groupId>
<artifactId>thymeleaf-extras-shiro</artifactId>
<version>${thymeleaf-shiro.version}</version>
</dependency>
Jar
Download from Maven Central.
Repository
git clone https://github.com/theborakompanioni/thymeleaf-extras-shiro.git
Example
<!DOCTYPE html>
<html xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
<title>thymeleaf-extras-shiro</title>
</head>
<body>
<p shiro:guest="">Please <a href="login.html">login</a></p>
<p shiro:authenticated="">
Hello, <span shiro:principal=""></span>, how are you today?
</p>
</body>
</html>
Tags
The following examples show how to integrate the tags in your Thymeleaf templates. These are all implementations of the examples given in the JSP / GSP Tag Library Section of the Apache Shiro documentation.
Tags can be written in attribute or element notation:
Attribute
<p shiro:anyTag>
Goodbye cruel World!
</p>
Element
<shiro:anyTag>
<p>Hello World!</p>
</shiro:anyTag>
guest
tag
The <p shiro:guest="">
Please <a href="login.html">Login</a>
</p>
user
tag
The <p shiro:user="">
Welcome back John! Not John? Click <a href="login.html">here<a> to login.
</p>
authenticated
tag
The <a shiro:authenticated="" href="updateAccount.html">Update your contact information</a>
notAuthenticated
tag
The <p shiro:notAuthenticated="">
Please <a href="login.html">login</a> in order to update your credit card information.
</p>
principal
tag
The <p>Hello, <span shiro:principal=""></span>, how are you today?</p>
or
<p>Hello, <shiro:principal/>, how are you today?</p>
Typed principal and principal property are also supported.
hasRole
tag
The <a shiro:hasRole="administrator" href="admin.html">Administer the system</a>
lacksRole
tag
The <p shiro:lacksRole="administrator">
Sorry, you are not allowed to administer the system.
</p>
hasAllRoles
tag
The <p shiro:hasAllRoles="developer, project manager">
You are a developer and a project manager.
</p>
hasAnyRoles
tag
The <p shiro:hasAnyRoles="developer, project manager, administrator">
You are a developer, project manager, or administrator.
</p>
hasPermission
tag
The <a shiro:hasPermission="user:create" href="createUser.html">Create a new User</a>
lacksPermission
tag
The <p shiro:lacksPermission="user:delete">
Sorry, you are not allowed to delete user accounts.
</p>
hasAllPermissions
tag
The <p shiro:hasAllPermissions="user:create, user:delete">
You can create and delete users.
</p>
hasAnyPermissions
tag
The <p shiro:hasAnyPermissions="user:create, user:delete">
You can create or delete users.
</p>
License
The project is licensed under the Apache License. See LICENSE for details.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].