Modified Shiro and Hibernate to use Openshift configuration parameters.