This is pretty suboptimal.  Classes (or JARs of classes) within the
endorsed directory are visible on the classpath and obviously logging
frameworks are one of those things where there is a lot of
variability.

On Wed, Nov 2, 2011 at 12:50, Sean Mullan <[email protected]> wrote:
> On 11/2/11 12:40 PM, Chad La Joie wrote:
>> I've been planning to move our Shib code over to use the JSR105 APIs
>> for signature work.  One of our testers today was trying to use SHA256
>> within their signatures and received the error that this wasn't
>> supported by the JVM-shipped implementation of those APIs.  So, I
>> figured we'd just endorse xmlsec in order to use it at the JVM's
>> JSR105 impl.
>>
>> However, when we tried this, we received the error that Apache
>> Common's Logging was not available.  This, of course, is true.  That
>> library isn't available in the JVM's internal classpath.
>>
>> So, the question is, should it be possible to use xmlsec as a JVM's
>> JSR105 implementation?
>
> Yes, but you need to also put commons-logging.jar in the endorsed dir. See my
> blog for more info:
>
> http://blogs.oracle.com/mullan/entry/using_more_recent_apache_xml
>
> --Sean
>



-- 
Chad La Joie
www.itumi.biz
trusted identities, delivered

Reply via email to