fix pom.xml
switch to branch java-config
fix securtiy config