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

    Modifier and Type
    Method
    Description
    boolean
    verified(String name, SSLSession context)
    Verify the passed in host name according to the context object.
  • Method Details

    • verified

      boolean verified(String name, SSLSession context) throws 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:
      IOException