Uploaded image for project: 'Crowd Data Center'
  1. Crowd Data Center
  2. CWD-2739

SSLSocketImpl.trySetHostnameVerification breaks under JDK 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.5
    • 2.3.5
    • None
    • None

    Description

      Setting hostname verification with reflection breaks under JDK 7:

      Caused by: java.lang.NoSuchMethodException: sun.security.ssl.SSLSocketImpl.trySetHostnameVerification(java.lang.String)
      	at java.lang.Class.getMethod(Class.java:1622)
      	at com.atlassian.crowd.directory.ssl.LdapHostnameVerificationSSLSocketFactory.makeUseLdapVerification(LdapHostnameVerificationSSLSocketFactory.java:80)
      

      Change this to work using the JDK7 support for setting this through SSLParameters.

      Attachments

        Issue Links

          Activity

            People

              jwalton joe
              jwalton joe
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: