public class PGjdbcHostnameVerifier extends Object implements HostnameVerifier
Modifier and Type | Field and Description |
---|---|
static Comparator<String> |
HOSTNAME_PATTERN_COMPARATOR |
static PGjdbcHostnameVerifier |
INSTANCE |
Constructor and Description |
---|
PGjdbcHostnameVerifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
verify(String hostname,
SSLSession session) |
boolean |
verifyHostName(@Nullable String hostname,
@Nullable String pattern) |
public static final PGjdbcHostnameVerifier INSTANCE
public static final Comparator<String> HOSTNAME_PATTERN_COMPARATOR
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
Copyright © 1997-2020 PostgreSQL Global Development Group. All Rights Reserved.