Spring Boot Micro-service fails Kerberos Authentication when deployed on Pivotal Cloud Foundry Platform
We have developed a Spring Boot Application to query data from Hbase on HDP 2.5. The application works fine when we run it on our local windows machines as it is able to find the jaas.conf & krb5.conf file which have been kept under resources folder of the application and we have provided them as system properties in our code as e.g. System.setProperties("javax.security.auth.useSubjectCredsOnly","false"); System.setProperty("java.security.krb5.conf","D:\\host\\workspace\\projectname\\src\\main\\resources\\krb5.conf"); However when we deploy in PCF it is unable to read those file which are set