/usr/include/arc/security/ArcPDP/attr/AttributeProxy.h is in nordugrid-arc-dev 4.0.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #ifndef __ARC_SEC_ATTRIBUTEPROXY_H__
#define __ARC_SEC_ATTRIBUTEPROXY_H__
#include <list>
#include <fstream>
#include <arc/XMLNode.h>
#include <arc/Logger.h>
#include "AttributeValue.h"
namespace ArcSec {
///Interface for creating the AttributeValue object, it will be used by AttributeFactory
/**The AttributeProxy object will be insert into AttributeFactoty; and the
*getAttribute(node) method will be called inside AttributeFacroty.createvalue(node),
*in order to create a specific AttributeValue
*/
class AttributeProxy {
public:
AttributeProxy() {};
virtual ~AttributeProxy(){};
public:
/**Create a AttributeValue object according to the information inside
*the XMLNode as parameter.
*/
virtual AttributeValue* getAttribute(const Arc::XMLNode& node) = 0;
};
} // namespace ArcSec
#endif /* __ARC_SEC_ATTRIBUTEPROXY_H__ */
|