跟我学Shiro - 张开涛组合就是用户名/密码了。接下来先进行一个基本的身份认 证。 另外两个相关的概念是之前提到的 Subject 及 Realm,分别是主体及验证主体的数据源。 环境准备 本文使用 Maven 构建,因此需要一点 Maven 知识。首先准备环境依赖: 添加 junit、common-logging 及 shiro-core 依赖即可。 其是安全控制的入口点,其负责读取配置(如 ini 配置文件),然后判断 URL 是否需要登 录/权限等工作。 准备环境 1、创建 webapp 应用 此处我们使用了 jetty-maven-plugin 和 tomcat7-maven-plugin 插件;这样可以直接使用“mvn jetty:run ” 或 “ mvn tomcat7:run ” 直 接 运 行 webapp 了 。 然 后 通 过 apter14/login.jsp。 如果使用 Maven Jetty 插件,可以直接如下插件配置:org.mortbay.jetty jetty-maven-plugin 8 0 码力 | 219 页 | 4.16 MB | 10 月前3
MuPDF 1.23.0 Documentationpre-built artifact from our Maven repository. In your project’s top build. gradle, add the line to the repositories section: allprojects { repositories { jcenter() maven { url 'http://maven.ghostscript.com' } ) ... } The lib module depends on the JNI library com.artifex.mupdf:fitz, so do not remove the Maven repository from your top build.gradle. 9.5.4 Edit the viewer activity If all has gone well, you either a Maven artifact or Git submodule. • mupdf-android-viewer-mini.git This repository contains the minimalist Android viewer library and app. It uses mupdf-android-fitz. git as either a Maven artifact0 码力 | 245 页 | 817.74 KB | 8 月前3
MuPDF 1.25.0 Documentationpre-built artifact from our Maven repository. In your project’s top build. gradle, add the line to the repositories section: allprojects { repositories { jcenter() maven { url 'http://maven.ghostscript.com' } ) ... } The lib module depends on the JNI library com.artifex.mupdf:fitz, so do not remove the Maven repository from your top build.gradle. 10.5.4 Edit the viewer activity If all has gone well, you either a Maven artifact or Git submodule. • mupdf-android-viewer-mini.git This repository contains the minimalist Android viewer library and app. It uses mupdf-android-fitz. git as either a Maven artifact0 码力 | 259 页 | 1.11 MB | 8 月前3
MuPDF 1.24.0 Documentationpre-built artifact from our Maven repository. In your project’s top build. gradle, add the line to the repositories section: allprojects { repositories { jcenter() maven { url 'http://maven.ghostscript.com' } ) ... } The lib module depends on the JNI library com.artifex.mupdf:fitz, so do not remove the Maven repository from your top build.gradle. 9.5.4 Edit the viewer activity If all has gone well, you either a Maven artifact or Git submodule. • mupdf-android-viewer-mini.git This repository contains the minimalist Android viewer library and app. It uses mupdf-android-fitz. git as either a Maven artifact0 码力 | 249 页 | 830.15 KB | 8 月前3
开课吧基于混合云的Kubernetes平台落地实践-程亮TEST PRE PROD • 标准的CICD流程 Developer LOCAL DEV Jenkins 构建 Git Maven Docker kubectl Jenkins pipeline 开课吧CI/CD架构 GitLab Maven Repository(nexus) Registry 云厂商K8S pull install deploy push get status0 码力 | 22 页 | 7.42 MB | 9 月前3
Nacos架构&原理
插件开发流程 参考 https://github.com/nacos-group/nacos-examples,这里已经给出了⼀个示例 plugin 实现。 具体步骤如下: 1、新建⼀个 maven 工程,引入依赖 nacos-api: 2、引入打包插件:com.alibaba.nacos nacos-api 0.7.0 org.apache.maven.plugins maven-assembly-plugin Maven 3.2.x+: downloads, settings. MySql 5.6.+ 获取安装包 有 2 种方式可以获得 NacosSync 的安装包: 直接下载 NacosSync 0 码力 | 326 页 | 12.83 MB | 9 月前3
TiDB v8.5 Documentationhigher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows:0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentationhigher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows:0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 Documentationhigher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows:0 码力 | 6606 页 | 109.48 MB | 10 月前3
TiDB v8.4 Documentationhigher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows: higher. You can choose OpenJDK or Oracle JDK based on your business and personal requirements. • Maven 3.8 or higher. • Git. • A TiDB cluster. If you don’t have a TiDB cluster, you can create one as follows:0 码力 | 6705 页 | 110.86 MB | 10 月前3
共 14 条
- 1
- 2













