Back to index

nordugrid-arc-nox  1.1.0~rc6
SecHandler.cpp
Go to the documentation of this file.
00001 #ifdef HAVE_CONFIG_H
00002 #include <config.h>
00003 #endif
00004 
00005 // SecHandler.cpp
00006 
00007 #include "SecHandler.h"
00008 
00009 namespace ArcSec{
00010   
00011   Arc::Logger SecHandler::logger(Arc::Logger::rootLogger, "SecHandler");
00012 
00013   SecHandlerConfig::SecHandlerConfig(const std::string& name,const std::string& event,const std::string& id):Arc::XMLNode("<SecHandler xmlns=\"http://www.nordugrid.org/schemas/ArcConfig/2007\"/>") {
00014     NewAttribute("name")=name;
00015     if(!event.empty()) NewAttribute("event")=event;
00016     if(!id.empty()) NewAttribute("id")=id;
00017   }
00018 
00019 }