会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
汉客先生
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
25
26
27
28
29
30
31
32
33
···
53
下一页
2020年5月9日
如果注册微信小程序
摘要: 微信小程序在生活中有不少的用处,那么如何注册微信小程序呢?一起跟着我来一步步完成吧,特别的简单哦。 方法/步骤 先打开微信公众号,点立即注册,然后看到有四个类型,我们是要注册微信小程序,就在微信小程序那里圈上。 来到小程序注册页面,要求填写有效邮箱,身份证名和号码,都要如实填写。然后很快收到验证码,
阅读全文
posted @ 2020-05-09 17:30 A汉克先生
阅读(198)
评论(0)
推荐(0)
2020年5月4日
图片上传nginx代理上传图片
摘要: https://www.cnblogs.com/TJ21/p/12609112.html https://www.cnblogs.com/mooncher/p/3777822.html
阅读全文
posted @ 2020-05-04 16:12 A汉克先生
阅读(1575)
评论(0)
推荐(0)
2020年4月29日
无状态配置报错:Session creation has been disabled for the current subject
摘要: 无状态配置报错说明基本上成功:Session creation has been disabled for the current subject Session creation has been disabled for the current subject. This exception i
阅读全文
posted @ 2020-04-29 09:47 A汉克先生
阅读(1761)
评论(0)
推荐(0)
StatelessSessionManager重写
摘要: package com.foen.security;import org.apache.shiro.session.mgt.SessionKey;import org.apache.shiro.web.servlet.ShiroHttpServletRequest;import org.apache
阅读全文
posted @ 2020-04-29 08:57 A汉克先生
阅读(318)
评论(0)
推荐(0)
SHA256加密工具类
摘要: public class SHA256Util { /** * 用java原生的摘要实现SHA256加密 * * @param str 加密前的报文 * @return */ public static String getSHA256String(String str) { String enco
阅读全文
posted @ 2020-04-29 08:44 A汉克先生
阅读(1581)
评论(0)
推荐(0)
2020年4月28日
shiro权限配置工厂类ShiroConfiguration
摘要: package com.foen.security;import at.pollux.thymeleaf.shiro.dialect.ShiroDialect;import com.google.code.kaptcha.impl.DefaultKaptcha;import com.google.c
阅读全文
posted @ 2020-04-28 20:19 A汉克先生
阅读(1337)
评论(0)
推荐(0)
微信小程序正在加载中
摘要: var hasClike = false; if(hasClike){ return; } hasClike=true; wx.showLoading({ title: '正在加载中', }); ... complete:function(res){ hasClike=false; wx.hideL
阅读全文
posted @ 2020-04-28 10:16 A汉克先生
阅读(1491)
评论(0)
推荐(0)
2020年4月24日
Shiro(3) controller中获取当前登录用户信息
摘要: @RequestMapping(value = "/competitorPageList" ) public String competitorPageList(Model model, ) { Long currentUserId = (Long) SecurityUtils.getSubject
阅读全文
posted @ 2020-04-24 14:17 A汉克先生
阅读(5345)
评论(0)
推荐(0)
2020年4月20日
ShiroFilter权限控制规则loadShiroFilterChain
摘要: /** * 加载ShiroFilter权限控制规则 * 这块代码是负责拦截的 * 也就是说,如果当前登陆的人,不符合访问某个url的访问权限条件的,直接给他弹开 * 也就是分配谁能访问谁 * */ private void loadShiroFilterChain(ShiroFilterFactor
阅读全文
posted @ 2020-04-20 11:42 A汉克先生
阅读(596)
评论(0)
推荐(0)
Spring boot启动类
摘要: @SpringBootApplication(scanBasePackages = {"com.foen.config", "com.foen.security", "com.foen.car.controller", "com.foen.car.service.impl", "com.foen.c
阅读全文
posted @ 2020-04-20 11:40 A汉克先生
阅读(283)
评论(0)
推荐(0)
上一页
1
···
25
26
27
28
29
30
31
32
33
···
53
下一页
公告