• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Y-wee
博客园    首页    新随笔    联系   管理     
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
2020年11月25日
springboot自定义自配置类
摘要: springboot自定义自配置类 需求:当某个类存在的时候,自动配置这个类的bean,并可将bean的属性在application.properties中配置 1、导包 <!-- https://mvnrepository.com/artifact/org.springframework.boot 阅读全文
posted @ 2020-11-25 20:00 Y-wee 阅读(2185) 评论(0) 推荐(0)
2020年11月16日
ssm整合shiro实现认证授权
摘要: ssm整合shiro实现认证授权 1、导包 <!--加载shiro的库--> <dependency> <groupId>org.apache.shiro</groupId> <artifactId>shiro-all</artifactId> <version>1.3.2</version> </ 阅读全文
posted @ 2020-11-16 19:25 Y-wee 阅读(192) 评论(0) 推荐(0)
2020年11月15日
shiro-jdbc-realm.ini文件
摘要: shiro-jdbc-realm文件 shiro默认的配置项 #默认的securitymanager securitymanager=org.apache.shiro.mgt.defaultsecuritymanager #默认认证器 authenticator=org.apache.shiro.a 阅读全文
posted @ 2020-11-15 11:17 Y-wee 阅读(114) 评论(0) 推荐(0)
2020年11月13日
分页页面实体类
摘要: 分页页面实体类 package com.yl.bean; import java.util.List; public class PageInfo { private Integer pageCode;//当前页码 private Integer pageSize;//每页数据条数 private 阅读全文
posted @ 2020-11-13 15:27 Y-wee 阅读(229) 评论(0) 推荐(0)
2020年11月12日
layui分页查询页面实体类
摘要: layui分页查询页面实体类 /* * - Author: oneyuanma * - License: GNU Lesser General Public License (GPL) */ package com.gec.oasys.pojo; /** * 分页参数分装 * * @author 张 阅读全文
posted @ 2020-11-12 16:29 Y-wee 阅读(184) 评论(0) 推荐(0)
2020年11月11日
layui批量删除
摘要: layui批量删除 //批量删除 $(".delAll_btn").on("click", function () { //获取复选框的组件,testReload为table实例的id属性,不是table标签的id var checkStatus = table.checkStatus('testR 阅读全文
posted @ 2020-11-11 21:36 Y-wee 阅读(348) 评论(0) 推荐(0)
2020年11月9日
layui表格使用实例
摘要: layui表格使用实例 1、编写jsp页面 编写jsp页面 <%-- Created by IntelliJ IDEA. User: cheng Date: 2020/11/9 Time: 14:55 To change this template use File | Settings | Fil 阅读全文
posted @ 2020-11-09 16:43 Y-wee 阅读(309) 评论(0) 推荐(0)
mybatis逆向工程使用
摘要: mybatis逆向工程使用 1、导入逆向工程所需插件 <plugins> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <versio 阅读全文
posted @ 2020-11-09 14:05 Y-wee 阅读(128) 评论(0) 推荐(0)
2020年11月8日
shiro凭证配置
摘要: shiro凭证配置 1、方式一 在自定义realm的构造器中配置凭证匹配器对象 public UserRealm() { //凭证匹配器对象 HashedCredentialsMatcher matcher=new HashedCredentialsMatcher(); //指定加密算法 match 阅读全文
posted @ 2020-11-08 11:26 Y-wee 阅读(222) 评论(0) 推荐(0)
2020年11月6日
shiro自定义Realm实现认证和授权案例
摘要: shiro自定义Realm实现认证和授权案例 1、创建实体类 package com.yl.bean; import java.io.Serializable; /** * 用户实体类 */ public class User implements Serializable { private In 阅读全文
posted @ 2020-11-06 21:32 Y-wee 阅读(165) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 29 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3