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

SSLSocketImpl.trySetHostnameVerification breaks under JDK 7

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: