harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Bushmanov" <roman.bushma...@gmail.com>
Subject Re: [classlib][security] BC provider as default Harmony crypto provider
Date Thu, 28 Jun 2007 05:08:26 GMT
Hi, Leo

Actually my custom policy files don't include any SUN-specific policy
grants and the tests pass on RI.

Anyway, I agree to treat the difference as non-bug specifics since you
were able to make RI fail:)

Thank you for your attention to the issue!

Regards,
Roman

On 6/28/07, Leo Li <liyilei1979@gmail.com> wrote:
> Hi, Roman:
>     I have tried a little and found that SUNJCE also requires a
> java.security.SecurityPermission putProviderProperty.SUN permission while
> BouncyCastle requires a java.security.SecurityPermission
> putProviderProperty.BC permission.
>     If we revoke the  putProviderProperty.SUN permission in a customized
> security manager, RI also will fail.
>     I guess in your policy file, the "putProviderProperty.SUN" permission
> is granted to the SUNJCE class.
>     If so, it is just a non-bug difference that RI and harmony just ask for
> different security permissions to let security providers work.
>
> Good luck!
> Leo.

Mime
View raw message