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 .