Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4051

Revisit details on available cryptography for tests

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Optional Optional
    • jbossws-cxf-5.1.7.Final
    • jbossws-cxf-5.1.6.Final
    • jbossws-cxf
    • None

      Currently there are two tests classes that informs user about actual BouncyCastle and unlimited stregth cryptography availability:

      org.jboss.wsf.test.CryptoCheckMain that informs about BC availibility during execution of test-utils module

      org.jboss.wsf.test.CryptoHelper that provides hints for exceptions in security related tests.

      But both only recognize BouncyCastleProvider installed within security providers while JBossWS 5+ can also load BC provider from classpath. Thus the current mechanism can wrap actual exception in false warning on missing BC.

      The proposal is to move printing info from test-utils to testsuite module to be printed where it actually matters.
      The second proposal is to merge both classes and also detect the BC on test classpath.

              jbliznak@redhat.com Jan Blizňák
              jbliznak@redhat.com Jan Blizňák
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: