Package org.ldaptive.ssl
Class HostnameResolver
- java.lang.Object
-
- org.ldaptive.ssl.HostnameResolver
-
public class HostnameResolver extends Object
Resolves a hostname from anSSLSession
.
-
-
Field Summary
Fields Modifier and Type Field Description protected Logger
logger
Logger for this class.private SSLSession
sslSession
SSL session.
-
Constructor Summary
Constructors Constructor Description HostnameResolver(SSLSession session)
Creates a new hostname resolver.
-
-
-
Field Detail
-
logger
protected final Logger logger
Logger for this class.
-
sslSession
private final SSLSession sslSession
SSL session.
-
-
Constructor Detail
-
HostnameResolver
public HostnameResolver(SSLSession session)
Creates a new hostname resolver.- Parameters:
session
- SSL session
-
-
Method Detail
-
resolve
public String resolve()
Resolves a hostname from the SSL session.- Returns:
- hostname
-
-