• 大小: 55KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-11
  • 语言: 其他
  • 标签: keycloak  

资源简介

这个是一个用keycloak保护rest资源的例子,里面的keycloak端配置请看博客讲解https://blog.csdn.net/hb_688/article/details/81180709

资源截图

代码片段和文件信息

package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class Application {

public static void main(String[] args) {
SpringApplication.run(Application.class args);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1226  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.classpath

     文件        268  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.gitignore

     文件      47610  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.mvn\wrapper\maven-wrapper.jar

     文件        110  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.mvn\wrapper\maven-wrapper.properties

     文件       1143  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.project

     文件        155  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.settings\org.eclipse.core.resources.prefs

     文件        243  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.settings\org.eclipse.jdt.core.prefs

     文件         97  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.settings\org.eclipse.m2e.core.prefs

     文件        145  2018-07-19 11:07  demo-keycloak-2.0.2-rest\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件       6468  2018-07-19 11:07  demo-keycloak-2.0.2-rest\mvnw

     文件       4994  2018-07-19 11:07  demo-keycloak-2.0.2-rest\mvnw.cmd

     文件       1634  2018-07-23 16:16  demo-keycloak-2.0.2-rest\pom.xml

     文件        296  2018-07-19 11:07  demo-keycloak-2.0.2-rest\src\main\java\com\example\demo\Application.java

     文件        772  2018-07-23 16:25  demo-keycloak-2.0.2-rest\src\main\java\com\example\demo\web\ApplicationController.java

     文件        541  2018-07-24 10:07  demo-keycloak-2.0.2-rest\src\main\resources\application.properties

     文件        121  2018-07-20 17:35  demo-keycloak-2.0.2-rest\src\main\resources\static\accessDenied.html

     文件        327  2018-07-19 11:07  demo-keycloak-2.0.2-rest\src\test\java\com\example\demo\ApplicationTests.java

     文件        541  2018-07-24 10:07  demo-keycloak-2.0.2-rest\target\classes\application.properties

     文件        691  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\com\example\demo\Application.class

     文件       1088  2018-07-23 16:25  demo-keycloak-2.0.2-rest\target\classes\com\example\demo\web\ApplicationController.class

     文件        351  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\meta-INF\MANIFEST.MF

     文件        270  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\meta-INF\maven\com.example\demo-keycloak-2.0.2-rest\pom.properties

     文件       1634  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\meta-INF\maven\com.example\demo-keycloak-2.0.2-rest\pom.xml

     文件        121  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\static\accessDenied.html

     文件        610  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\test-classes\com\example\demo\ApplicationTests.class

     目录          0  2018-07-19 11:08  demo-keycloak-2.0.2-rest\src\main\java\com\example\demo\web

     目录          0  2018-07-19 11:08  demo-keycloak-2.0.2-rest\src\main\java\com\example\demo

     目录          0  2018-07-19 11:07  demo-keycloak-2.0.2-rest\src\test\java\com\example\demo

     目录          0  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\com\example\demo\web

     目录          0  2018-07-23 16:16  demo-keycloak-2.0.2-rest\target\classes\meta-INF\maven\com.example\demo-keycloak-2.0.2-rest

............此处省略32个文件信息

评论

共有 条评论

相关资源