请参考这个链接。https:/www.jhipster.techcommon-application-properties我找不到为redis配置密码的解决方案。
jhipster:
http:
cache: # Used by the CachingHttpHeadersFilter
timeToLiveInDays: 1461
cache: # Cache configuration
redis: # Redis configuration
expiration: 3600 # By default objects stay 1 hour (in seconds) in the cache
server: redis://localhost:6379
.setAddress(jHipsterProperties.getCache().getRedis().getServer()).setDatabase(1)
.setPassword("your password");`