Lines Matching refs:cname
196 // in the case of "*.foo.com", cname is ".foo.com".
198 private transient String cname;
431 cname = "";
433 cname = host.substring(1).toLowerCase();
596 if (this.cname == null) {
599 if (!match(cname, hostname)) {
605 debug.println("socket access restriction: proxied host " + "(" + addresses[0] + ")" + " does not match " + cname + " from reverse lookup");
626 if (cname != null || invalid || untrusted) return;
641 cname = addresses[0].getHostName(false).toLowerCase();
643 cname = InetAddress.getByName(addresses[0].getHostAddress()).
654 private boolean match(String cname, String hname) {
655 String a = cname.toLowerCase();
671 private boolean authorized(String cname, byte[] addr) {
673 return authorizedIPv4(cname, addr);
675 return authorizedIPv6(cname, addr);
680 private boolean authorizedIPv4(String cname, byte[] addr) {
709 private boolean authorizedIPv6(String cname, byte[] addr) {
864 if (this.wildcard && "".equals(this.cname))
896 // that's cname ends with this cname (i.e., *.sun.com
899 return (that.cname.endsWith(this.cname));
905 // this is a wildcard, lets see if that's cname ends with
907 if (that.cname == null) {
910 return (that.cname.endsWith(this.cname));
932 if (this.cname == null) {
936 if (that.cname == null) {
940 return (this.cname.equalsIgnoreCase(that.cname));
1022 if (this.cname != null) {
1023 return this.cname.equalsIgnoreCase(that.cname);
1053 if (invalid || cname == null)
1056 return this.cname.hashCode();
1172 "cname = " + cname + "\n" +
1211 else its the cname?