Searched refs:serverName (Results 1 – 5 of 5) sorted by relevance
64 private String serverName; field in LDAPCertStoreParameters75 public LDAPCertStoreParameters(String serverName, int port) { in LDAPCertStoreParameters() argument76 if (serverName == null) in LDAPCertStoreParameters()78 this.serverName = serverName; in LDAPCertStoreParameters()90 public LDAPCertStoreParameters(String serverName) { in LDAPCertStoreParameters() argument91 this(serverName, LDAP_DEFAULT_PORT); in LDAPCertStoreParameters()108 return serverName; in getServerName()149 sb.append(" serverName: " + serverName + "\n"); in toString()
80 String serverName = "myhost"; in testLDAPCertStoreParametersString02() local81 LDAPCertStoreParameters cp = new LDAPCertStoreParameters(serverName); in testLDAPCertStoreParametersString02()82 assertTrue("host", serverName.equals(cp.getServerName())); in testLDAPCertStoreParametersString02()116 String serverName = "myhost"; in testLDAPCertStoreParametersStringint02() local119 new LDAPCertStoreParameters(serverName, portNumber); in testLDAPCertStoreParametersStringint02()120 assertTrue("host", serverName.equals(cp.getServerName())); in testLDAPCertStoreParametersStringint02()136 String serverName = "myhost"; in testLDAPCertStoreParametersStringint03() local140 new LDAPCertStoreParameters(serverName, portNumber[i]); in testLDAPCertStoreParametersStringint03()
363 public boolean matches(SNIServerName serverName) { in matches() argument364 if (serverName == null) { in matches()370 if (!(serverName instanceof SNIHostName)) { in matches()371 if (serverName.getType() != StandardConstants.SNI_HOST_NAME) { in matches()377 hostname = new SNIHostName(serverName.getEncoded()); in matches()382 hostname = (SNIHostName)serverName; in matches()
300 for (SNIServerName serverName : serverNames) { in setServerNames()301 if (sniNames.put(serverName.getType(), in setServerNames()302 serverName) != null) { in setServerNames()305 serverName.getType()); in setServerNames()
104 public abstract boolean matches(SNIServerName serverName); in matches() argument