EnableRedisHttpSession在除WebSecurity之外的其他配置文件中运行时另一方面,如果我使用“否定式”配置文件,则安全逻辑和redis逻辑都会初始化:@Profile({"!dev", "!EnableRedisHttpSession
public class SecurityConfigur
CACHE_DRIVER=redisREDIS_HOST=master.laravelredistest.8sm3xo.euw1.cache.amazonaws.comREDIS_PASSWORD=mypassword当我运行连接到Redis的代码时,我得到了以下错误。Operation timed out [tcp://master.laravelredistest.8sm3xo.euw1.
配置从应用程序设置中加载,但我们有不在代码中添加敏感信息的策略,而Redis的生产实例需要进行身份验证。这个密码是从环境变量加载的,但是我找不到在运行时修改Redis配置的方法。if the variable environment for the password is set
// This will only necessary if the cache type is RedisToMethod((ctx) => CacheFactory.FromConfiguratio