mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-02 19:47:52 +00:00
addressed vulnerability reported by sonar: encrypt passwords in application.properties files with bcrypt
This commit is contained in:
@@ -81,7 +81,9 @@ spring.profiles.include=use_ssl_with_client_cert_and_basic_auth,client_certifica
|
|||||||
tip.wlan.httpClientConfig=classpath:httpClientConfig.json
|
tip.wlan.httpClientConfig=classpath:httpClientConfig.json
|
||||||
#this user/password is used together with http_digest_auth and http_basic_auth spring profiles
|
#this user/password is used together with http_digest_auth and http_basic_auth spring profiles
|
||||||
tip.wlan.serviceUser=user
|
tip.wlan.serviceUser=user
|
||||||
tip.wlan.servicePassword=password
|
# The value in here is bcrypt-encoded string "password", generated with the following command
|
||||||
|
# htpasswd -nBC 10 "" | cut -d ':' -f2
|
||||||
|
tip.wlan.servicePassword=$2y$10$rXnaSR5q2PsFWs8WEfJAguKAPh0oHLFkAJFqd7Pf7PVa3cOIClGoS
|
||||||
|
|
||||||
spring.main.show-banner=false
|
spring.main.show-banner=false
|
||||||
server.port=9096
|
server.port=9096
|
||||||
|
|||||||
@@ -81,7 +81,9 @@ tip.wlan.httpClientConfig=classpath:httpClientConfig.json
|
|||||||
|
|
||||||
#this user/password is used together with http_digest_auth and http_basic_auth spring profiles
|
#this user/password is used together with http_digest_auth and http_basic_auth spring profiles
|
||||||
tip.wlan.serviceUser=user
|
tip.wlan.serviceUser=user
|
||||||
tip.wlan.servicePassword=password
|
# The value in here is bcrypt-encoded string "password", generated with the following command
|
||||||
|
# htpasswd -nBC 10 "" | cut -d ':' -f2
|
||||||
|
tip.wlan.servicePassword=$2y$10$rXnaSR5q2PsFWs8WEfJAguKAPh0oHLFkAJFqd7Pf7PVa3cOIClGoS
|
||||||
|
|
||||||
spring.main.show-banner=false
|
spring.main.show-banner=false
|
||||||
server.port=9096
|
server.port=9096
|
||||||
|
|||||||
Reference in New Issue
Block a user