Isn't this straying into the user configurations? i.e. the init-param(s) are something the user application sets up. Adding our own params from some code into those params doesn't look right. For example, this can break applications which perhaps might check the init-param count and expect it to be the same as what they had setup.

Perhaps this can be done in a different way so as to not pollute the user deployment configurations?