Spring Cloud Data Flow Server的身份验证

问题描述

我想向Spring Cloud Data Flow Server应用程序添加身份验证。我看到有关具有LDAP支持的Cloud Foundry UAA的文章。我也尝试了基本的身份验证代码段,该代码段无法正常工作。

我看到了很多对链接https://github.com/spring-cloud/spring-cloud-dataflow-samples/tree/master/security-ldap-uaa-example的引用,因为ldap服务器代码使用的是Apache DSContainer,它已被弃用,并且在我的本地环境中不起作用。还有其他方法吗?如果有人可以提供相同的示例代码,将不胜感激。

解决方法

那是一个古老的示例,而Apache DS仅提供了一种简单的方法来使演示运行而无需读取ldap服务器。借助UAA,ldap可以完全支持用户存储。

UAA并不是最容易设置的系统,但配置的目的是作为与任何ldap服务器一起配置它的起点。

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...