> > > Another option would be to define a jaspic element for server.xml / > context.xml that is nested in a Context and if present takes precedence > for JASPIC config. For that to work modules would have to: > - have zero arg constructors > - be fully configurable via setters > - use simple types for their property setters > > How feasible is that?
I think it sounds even better, however I would like to allow security configuration only on the provider basis. Provider can be initalized with settings HashMap, which can be passed directly to modules on initialization. And then, modules can set own settings using provided information. -- Thanks, Fjodor