public String getSecretKey(String subdomain) {
        // Find the proper secret key to connect as the subdomain.
        String secretKey = secretKeys.get(subdomain);
        if (secretKey == null) {
            secretKey = defaultSecretKey;
        }
        return secretKey;
    }
public String getSecretKey(String subdomain) {
        
        String secretKey = secretKeys.get(subdomain);
        if (secretKey == null) {
            secretKey = defaultSecretKey;
        }
        return secretKey;
    }
public String getSecretKey ( String subdomain ) { // Find the proper secret key to connect as the subdomain. String secretKey = secretKeys . get ( subdomain ) ; if ( secretKey == null ) { secretKey = defaultSecretKey ; } return secretKey ; }
Returns the secret key for a sub-domain. If no key was found then the
default secret key will be returned.

@param subdomain
the subdomain to return its secret key.
@return the secret key for a sub-domain.
Returns the secret key for a sub - domain . If no key was found then the default secret key will be returned .