private void initHandlers() throws Exception {
Map<String, String> handlerProps = new HashMap<>();
copyPropIfExists(handlerProps, cConfiguration, "security.auth.server.ssl.truststore.path");
copyPropIfExists(handlerProps, cConfiguration, "security.auth.server.ssl.truststore.type");
copyPropIfExists(handlerProps, cConfiguration, "security.auth.server.ssl.truststore.password");
copyPropIfExists(handlerProps, cConfiguration, Constants.Security.SSL.EXTERNAL_ENABLED);
copyPropIfExists(handlerProps, cConfiguration, Constants.Security.BASIC_REALM_FILE);
copyPropIfExists(handlerProps, cConfiguration, Constants.Security.LOGIN_MODULE_CLASS_NAME);
copyProps(handlerProps, getAuthHandlerConfigs(cConfiguration));
copyProps(handlerProps, getAuthHandlerConfigs(sConfiguration));
authenticationHandler.init(handlerProps);
grantAccessToken.init();
}