George Niculae wrote: > Hi All, > > regarding XX-6805-Personal Assistand IM User password needs to be > generated randomly: for making the password entry hidden and having a > default value assigned by sipxconfig I am thinking to change the xml > setting and to use the @SettingEntry annotation for this path. However, > I noticed that the annotated method is not called in case of a hidden > setting (valid also for SipTrunk - @SettingEntry(path = > "itsp-account/itsp-proxy-listening-port")) > > Is this a bug, or am I on the wrong way here? > > Thanks, George > > >
@SettingEntry should work for hidden fields - "hidden" is just an UI hint, it's not checked anywhere outside of UI modules. That said I am not sure you can use @SettingEntry (even once you discover and fix the reason why it does not work for you) to implement this functionality. The password needs to be generated once and then kept consistent: we cannot just return a random string every time we are asked for it... It's a question of finding the right moment when service is first instantiated: we need to give it a chance to initialize itself. I don't think we have anything like that yet. D. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
