Interface JsseHostnameAuthorizer

  • All Known Implementing Classes:
    JsseDefaultHostnameAuthorizer

    public interface JsseHostnameAuthorizer
    Verify the host name is as expected after the SSL Handshake has been completed.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean verified​(java.lang.String name, javax.net.ssl.SSLSession context)
      Verify the passed in host name according to the context object.
    • Method Detail

      • verified

        boolean verified​(java.lang.String name,
                         javax.net.ssl.SSLSession context)
                  throws java.io.IOException
        Verify the passed in host name according to the context object.
        Parameters:
        name - name of the host to be verified.
        context - context object to do the verification under.
        Returns:
        true if name verified, false otherwise.
        Throws:
        java.io.IOException