- 博客(8)
- 收藏
- 关注
原创 shiro用户登录验证
shiro用户登录验证1.login方法代码如下(示例):SecurityUtils.getSubject().login(new UsernamePasswordToken(username, password)));其中调用了doGetAuthenticationInfo方法2.配置realm代码如下(示例):继承AuthorizingRealm重写doGetAuthenticationInfo方法protect...
2021-04-01 16:45:05
394
原创 maven添加jar
<dependency> <groupId>com.oracle</groupId> <artifactId>ojdbc6</artifactId> <version>10.0</version> </dependency>mvn install:install-file -Dfile=e:/ojdbc10.jar -Dg...
2020-05-16 18:26:22
109
转载 redis服务注册
1. 进入 DOS窗口2. 在进入redis的安装目录3. 输入:redis-server --service-install redis.windows.conf --loglevel verbose ( 安装redis服务 )4.在redis目录下新建logs文件夹5 输入:redis-server --service-start ( 启动服务 )6. 输入:redis-...
2019-06-29 23:11:38
169
转载 项目托管到gitHub
假设项目名为[test]Git上创建项目仓库在操作页面上先不要勾选创建[README.md], [license], [.gitignore]等选项, 不然后续需要合并版本, 比较麻烦. 远程仓库连接为[https://git.coding.net/mrathena/test.git]本地创建项目仓库(本步骤可在SourceTree完成)打开 Git Bash,切换工作目录到你的本地...
2019-05-02 15:19:47
90
原创 写入路径
1.启动后加载<bean id="webStaticUrl" class="com.yuc.spring.WebStaticUrl" scope="singleton" init-method="init"></bean>2.写入路径public class WebStaticUrl extends WebMvcConfigurationSupport{ pub
2018-05-09 14:57:01
219
原创 Oracle commit后数据找回
1.alter table TABLE enable row movement;2.select * from TABLE as of timestamp to_timestamp('2018-05-06 00:00:00','yyyy-mm-dd hh24:mi:ss');3.flashback table TABLE to timestamp to_timestamp('2018-05-06 ...
2018-05-07 16:11:02
361
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人