Add validation of JAAS configuration, per @albertshau in #80