add security support

https://jira.spring.io/browse/SHDP-256