dev@glassfish.java.net

Re: Bundle Password

From: Jerome Dochez <Jerome.Dochez_at_Sun.COM>
Date: Wed, 07 Oct 2009 09:44:15 -0700

On Oct 6, 2009, at 5:27 PM, Sahoo wrote:

>
>
> Jason Lee wrote:
>> On Oct 6, 2009, at 4:21 PM, Jerome Dochez wrote:
>>> the hk2-import-bundles does not support supplying the mandatory
>>> password. That's for instance why I asked this morning Ken Paulsen
>>> to figure out why you still needed the HK2-Import-Bundles all
>>> together.
>>
>> OK. That's a question Ken will have to answer. I'm just now
>> learning how this part of the build works. :)
> I am also curious to know this.
>>
>>> Now apart from that specific issue, the reason why we added the
>>> mandatory password in GF is so that applications (like the admin-
>>> gui) does not see it.
>>> So am I correct in understanding that you want to hide that jar to
>>> all GF applications *but* the admin-gui ?
>>
>> Yes, that's correct. As I understand things, currently, "third-
>> party" applications can see this jar, which prevents users from
>> upgrading the library in their applications, as this one overrides
>> what's deployed with their application.
> You don't have to specify any password attribute in your admingui
> manifest. Since it uses some kind of Require-Bundle underneath, it
> should be able to locate the class from the hidden package.
yes but that's not the solution we would like to encourage long term...

>
> Thanks,
> Sahoo
>>
>> <http://www.java.com> * Jason Lee *
>> Senior Java Developer
>> GlassFish Administration Console
>>
>> *Sun Microsystems, Inc.*
>> Phone x31197/+1 405-343-1964
>> Email jasondlee_at_sun.com <mailto:jasondlee_at_sun.com>
>> Blog http://blogs.sun.com/jasondlee
>> Blog http://blogs.steeplesoft.com
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>