Class UntrustedSSL

java.lang.Object
org.opendaylight.aaa.shiro.realm.util.http.UntrustedSSL

public final class UntrustedSSL extends Object
Container for an SSL context that allows untrusted access and a hostname verifier that accepts any hostname.
  • Method Details

    • getHostnameVerifier

      public static HostnameVerifier getHostnameVerifier()
      Get a hostname verifier that accepts all hostnames.
      Returns:
      the hostname verifier.
    • getSSLContext

      public static SSLContext getSSLContext()
      Get an SSL context that allows untrusted access.
      Returns:
      the SSL context.