public final class WhitelistHostnameVerifier extends Object implements HostnameVerifier
| Constructor and Description |
|---|
WhitelistHostnameVerifier(String allowedList)
Creates a new instance using the given list of allowed hosts.
|
WhitelistHostnameVerifier(String[] allowed)
Creates a new instance using the given array of allowed hosts.
|
public WhitelistHostnameVerifier(String[] allowed)
allowed - Array of allowed hosts.public WhitelistHostnameVerifier(String allowedList)
allowedList - Comma-separated list of allowed hosts.public boolean verify(String hostname, SSLSession session)
verify in interface HostnameVerifierCopyright © 2006-2014 Jasig. All Rights Reserved.