public class SSLHostNameVerifier extends Object implements HostnameVerifier
Constructor and Description |
---|
SSLHostNameVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session)
matches the hostname of the Load balancer to CN attribute of the
certificate obtained.
|
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
hostname
- hostname of the load balancersession
- SSL session informationCopyright © 2019. All rights reserved.