Easter79 Easter79
4年前
SpringCloud Alibaba微服务实战十九
!(https://oscimg.oschina.net/oscnet/4890bf88dd2a49fda56ac51f2c120c84.png)概述前面几篇文章我们一直是在实现SpringCloud体系中的认证功能模块,验证当前登录用户的身份;本篇文章我们来讲SpringCloud体系中的授权功能,验证你是否能访问某些功能。
Stella981 Stella981
4年前
JavaScript 正则表达式上——基本语法
定义JavaScript种正则表达式有两种定义方式,定义一个匹配类似<%XXX%的字符串1\.构造函数varregnewRegExp('<%\^%\%','g');2\.字面量varreg/<%\^%\%/g;g:global,全文搜索,默认搜索到第一个结果接停止
Stella981 Stella981
4年前
Spring Cloud Alibaba Nacos 服务配置中心和注册中心
学习在SpringCloud中使用Nacos实现服务配置中心和注册中心,类似SpringCloudConfig和SpringCloudNetflixEureka提供的功能。1概述SpringCloudAlibaba是阿里巴巴提供的一套微服务开发一站式解决方案。主要提供的功能:分布式配置中心
Stella981 Stella981
4年前
Android中Bitmap和Drawable
Android中Bitmap和Drawable(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fdyh7077063.iteye.com%2Fblog%2F970672)          Android(https://www.oschina.net/action/GoToLi
Stella981 Stella981
4年前
Spring Framework 4.2 中的新功能和增强功能
本文同不至http://www.waylau.com/newfeaturesandenhancementsinspringframework4.2/(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.waylau.com%2Fnewfeaturesandenhan
Wesley13 Wesley13
4年前
JDK动态代理的简单实现
1\.先理一下动态代理实现的思路:    实现功能:自己定义一个类Proxy,通过Proxy的静态方法newProxyInstance(Class<Tintface,InvocationHandlerh)返回代理对象, intface:被代理类的接口对象, h:InvocationHandler的实例对象    1).声明一段动
Stella981 Stella981
4年前
SpringBoot集成Spring Security(2)——自动登录
在上一章:SpringBoot集成SpringSecurity(1)——入门程序中,我们实现了入门程序,本篇为该程序加上自动登录的功能。文章目录一、修改login.html二、两种实现方式2.1Cookie存储2.2数据库存储2.2.1基本原理2.2.2代码实现三、运行程序源码地址:https:/
Easter79 Easter79
4年前
SpringBoot集成Spring Security(2)——自动登录
在上一章:SpringBoot集成SpringSecurity(1)——入门程序中,我们实现了入门程序,本篇为该程序加上自动登录的功能。文章目录一、修改login.html二、两种实现方式2.1Cookie存储2.2数据库存储2.2.1基本原理2.2.2代码实现三、运行程序源码地址:https:/
手写模拟Spring底层原理-Bean的创建与获取
相信大家对Spring都有一定的了解,本篇文章我们会针对Spring底层原理,在海量的Spring源代码中进行抽丝剥茧手动实现一个Spring简易版本,对Spring的常用功能进行手写模拟实现。