def _getExtendedAttributes(self, path):
        """ Hard coding list of attributes and then call the base method of GFAL2_StorageBase

    :param self: self reference
    :param str path: path of which we want extended attributes
    :return S_OK( attributeDict ) if successful. Where the keys of the dict are the attributes and values the respective values
    """

        # hard coding the attributes list for xroot because the plugin returns the wrong values
        # xrootd.* instead of xroot.* see: https://its.cern.ch/jira/browse/DMC-664
        attributes = ['xroot.cksum', 'xroot.space']
        res = GFAL2_StorageBase._getExtendedAttributes(self, path, attributes)
        return res
  def _getExtendedAttributes( self, path ):
    """ Hard coding list of attributes and then call the base method of GFAL2_StorageBase

    :param self: self reference
    :param str path: path of which we want extended attributes
    :return S_OK( attributeDict ) if successful. Where the keys of the dict are the attributes and values the respective values
    """

    # hard coding the attributes list for xroot because the plugin returns the wrong values
    # xrootd.* instead of xroot.* see: https://its.cern.ch/jira/browse/DMC-664
    attributes = ['xroot.cksum', 'xroot.space']
    res = GFAL2_StorageBase._getExtendedAttributes( self, path, attributes )
    return res
  def _getExtendedAttributes( self, path, protocols = False ):
    ''' Changing the TURL_PROTOCOLS option for SRM in case we ask for a specific
        protocol

        :param self: self reference
        :param str path: path on the storage
        :param str protocols: a list of protocols
        :return S_OK( attributeDict ) if successful. Where the keys of the dict are the attributes
                                      and values the respective values
    '''
    if protocols:
      self.gfal2.set_opt_string_list( "SRM PLUGIN", "TURL_PROTOCOLS", protocols )
    res = GFAL2_StorageBase._getExtendedAttributes( self, path )
    self.__setSRMOptionsToDefault()
    return res