-
amplayaudio
个人做的一点东西,相信对大家会有帮助的,喜欢就拿去吧!(Individuals to do something, I believe would be helpful to all of us, like the case of go!)
- 2008-12-26 18:13:49下载
- 积分:1
-
国外开发的图形界面的功能强大的反编译工具,jd
国外开发的图形界面的功能强大的反编译工具,jd-gui,支持jar文件整体编译,支持拖放-Foreign development of powerful graphical interface tool to decompile, jd-gui, supports the whole jar file compiled to support drag and drop
- 2022-04-28 21:56:18下载
- 积分:1
-
SerialPoint.apk串口调试助手源码
本例子是一个串口调试小例子源码,Android下的串口工具源码,可以设置串口号、波特率、支持自动发送、同时支持4个串口,本项目编码GBK默认编译版本4.4.2,里面已经包含编译好的apk,已测试通过!
- 2023-06-03 06:40:03下载
- 积分:1
-
学习shiro的一些试验代码
来自开涛的跟我学shiro
#demo1 ini配置的测试用例
以junittest方式允许cn.ilongfei.shirodemo.demo1.Demo1Test.java
目的:
跟踪程序,了解最基本的运行方式。
#demo2 最简单的realm
例子有误导,realm的getAuthenticationInfo应该从数据源获取userInfo信息,
但是该实例中判用户名和密码,可能误导读者以为这里判好就通过了,实际上比对密码的工作在AuthenticatingRealm
中的getAuthenticationInfo方法中, 通过assertCredentialsMatch(token, info)来判断token是否和info一致(比对密码)
该方法不可覆盖,但是可以设置matcher改变密码比对的实现,设置realm的CredentialsMatcher.
#demo3 权限初步
在AuthorizingRealm的hasRole中判断,比对的方法是从info中取出roles,确认其中是否contains需比较的role的字符串
在跟踪过程中发现SimpleAccountRealm中竟然维护了users map,之后的info都是从users中根据username检索出来的。
* checkRole/checkRoles 和 hasRole/hasAllRoles 不同的地方是它在判断为假的情况下会抛出 UnauthorizedException 异常
* hasPermission 流程如下:
Subject.isPermitted(String permission)
securityManager.isPermitted(getPrincipals(), permission)
- 2022-03-19 22:17:44下载
- 积分:1
-
JAVA3
JAVA+JSP程序系统的JSP聊天室,JAVA+JSP程序系统的JSP聊天室(The program system JAVA+JSP JSP chat room, the program system JAVA+JSP JSP chat room)
- 2012-12-19 10:43:29下载
- 积分:1
-
shoujixiangqi
说明: 象棋手机游戏部分源码
象棋手机游戏部分源码(Chess mobile phone game chess game part of part of source code)
- 2008-09-19 11:02:37下载
- 积分:1
-
filemanager
文件管理系统 shixianwenjianshangchuanhuozhexiazai(Document Management System)
- 2014-02-28 09:46:23下载
- 积分:1
-
Watering_Authentication
java基于eclipse开发环境的数字水印认证系统,能完成水印嵌入,水印提出,图像认证,和篡改检测功能(java eclipse development environment based on digital watermarking authentication system, to complete the watermark embedding, watermark proposed image authentication and tamper detection)
- 2014-06-03 15:06:22下载
- 积分:1
-
struts1.2PajaxPonlinetest
struts1.2+ajax在线考试系统(struts1.2+ ajax online examination system)
- 2011-07-19 17:22:27下载
- 积分:1
-
java用于解决数独问题,这是一个设置一个矩阵的方法,当然核心依然是穷举。...
java用于解决数独问题,这是一个设置一个矩阵的方法,当然核心依然是穷举。-Sudoku java be used in resolving the issue, this is a way to set up a matrix, of course, the core is still exhaustive.
- 2022-07-09 02:21:25下载
- 积分:1