private function authPrecheckAcl($options)
    {
        if (isset($options[self::OSS_HEADERS][self::OSS_ACL]) && !empty($options[self::OSS_HEADERS][self::OSS_ACL])) {
            if (!in_array(strtolower($options[self::OSS_HEADERS][self::OSS_ACL]), self::$OSS_ACL_TYPES)) {
                throw new OssException($options[self::OSS_HEADERS][self::OSS_ACL] . ':' . 'acl is invalid(private,public-read,public-read-write)');
            }
        }
    }
private function authPrecheckAcl($options)
    {
        if (isset($options[self::OSS_HEADERS][self::OSS_ACL]) && !empty($options[self::OSS_HEADERS][self::OSS_ACL])) {
            if (!in_array(strtolower($options[self::OSS_HEADERS][self::OSS_ACL]), self::$OSS_ACL_TYPES)) {
                throw new OssException($options[self::OSS_HEADERS][self::OSS_ACL] . ':' . 'acl is invalid(private,public-read,public-read-write)');
            }
        }
    }
private function authPrecheckAcl ( $ options ) { if ( isset ( $ options [ self :: OSS_HEADERS ] [ self :: OSS_ACL ] ) && ! empty ( $ options [ self :: OSS_HEADERS ] [ self :: OSS_ACL ] ) ) { if ( ! in_array ( strtolower ( $ options [ self :: OSS_HEADERS ] [ self :: OSS_ACL ] ) , self :: $ OSS_ACL_TYPES ) ) { throw new OssException ( $ options [ self :: OSS_HEADERS ] [ self :: OSS_ACL ] . ':' . 'acl is invalid(private,public-read,public-read-write)' ) ; } } }
Checks if the ACL is one of the 3 predefined one. Throw OSSException if not.

@param $options
@throws OssException
Checks if the ACL is one of the 3 predefined one . Throw OSSException if not .