Hello,

I've just opened two new issues for this.

Regarding my initial question, I still think it would be valuable feature
to be able to inject any initial objects map before INI parsing.
It should be rather simple to be implemented (I can provide a patch),
and would fit nicely in Shiro simple/comprehensible framework.

CDI : I hadn't seen https://issues.apache.org/jira/browse/SHIRO-337
It looks like this feature has already contributors and patches.
As I do not feel confortable with CDI (and haven't much time),
I won't be able to help, sorry.

Regards,

  M. Maison

Le 09/03/2013 20:59, Les Hazlewood a écrit :
On Sat, Mar 9, 2013 at 1:38 AM, Mo Maison <[email protected] <mailto:[email protected]>> wrote:


    1 - it is not possible to dereference properties of referenced objects
      at the right of the = sign.

I'm surprised I haven't thought of this! Please open a Jira feature enhancement - this wouldn't be hard to support.

https://issues.apache.org/jira/browse/SHIRO-424

    2 - when injecting a property whose setter expects say a Set,
      special handling is performed (split string with comma and build
      a set before injection or so...).
      But this is performed /also/ for references, thus this does not work
      if myUrlsSetRef is already a Set :
      obj.urlsSet = $myUrlsSetRef


Please open a bug for this, it should be fixed asap.

https://issues.apache.org/jira/browse/SHIRO-423

Reply via email to