【文件属性】:
文件名称:spring-security-oauth-poc:这是一个展示 Spring 与 OAUTH 集成的 POC
文件大小:16KB
文件格式:ZIP
更新时间:2021-07-07 19:44:02
Java
Spring-security-oauth-poc
这是一个展示 Spring 与 OAUTH 集成的 POC
下面的过程描述了如何运行这个应用程序
###Step 1 此步骤描述了如何访问该服务。 当我们直接访问受保护的服务时,我们会从该服务获得未经授权的访问输出。 这是由我们配置的 oauth api 提供的。
#####INIPUT
http://localhost:8080/security-poc/api/getListOfEmployees.json
#####输出
{
error: " unauthorized "
error_description: " An Authentication object was not found in the SecurityContext "
}
###Step 2 在这一步中,我们请求 oauth 服务为我们提供一个
【文件预览】:
spring-security-oauth-poc-master
----src()
--------main()
----.classpath(7KB)
----pom.xml(5KB)
----README.md(2KB)
----.project(884B)