Back to index

nordugrid-arc-nox  1.1.0~rc6
SecHandlerPlugin.cpp
Go to the documentation of this file.
00001 #ifdef HAVE_CONFIG_H
00002 #include <config.h>
00003 #endif
00004 
00005 #include <arc/loader/Plugin.h>
00006 
00007 #include "simplelistpdp/SimpleListPDP.h"
00008 #include "pdpserviceinvoker/PDPServiceInvoker.h"
00009 #include "delegationpdp/DelegationPDP.h"
00010 #include "arcpdp/ArcPDP.h"
00011 #include "xacmlpdp/XACMLPDP.h"
00012 #include "allowpdp/AllowPDP.h"
00013 #include "denypdp/DenyPDP.h"
00014 
00015 #include "arcauthzsh/ArcAuthZ.h"
00016 #include "usernametokensh/UsernameTokenSH.h"
00017 #include "x509tokensh/X509TokenSH.h"
00018 #include "samltokensh/SAMLTokenSH.h"
00019 #include "saml2sso_assertionconsumersh/SAML2SSO_AssertionConsumerSH.h"
00020 #include "delegationsh/DelegationSH.h"
00021 
00022 #include "arcpdp/ArcPolicy.h"
00023 #include "xacmlpdp/XACMLPolicy.h"
00024 #include "gaclpdp/GACLPolicy.h"
00025 
00026 #include "arcpdp/ArcEvaluator.h"
00027 #include "xacmlpdp/XACMLEvaluator.h"
00028 #include "gaclpdp/GACLEvaluator.h"
00029 
00030 #include "arcpdp/ArcRequest.h"
00031 #include "xacmlpdp/XACMLRequest.h"
00032 #include "gaclpdp/GACLRequest.h"
00033 
00034 #include "arcpdp/ArcAttributeFactory.h"
00035 #include "arcpdp/ArcAlgFactory.h"
00036 #include "arcpdp/ArcFnFactory.h"
00037 
00038 #include "xacmlpdp/XACMLAttributeFactory.h"
00039 #include "xacmlpdp/XACMLAlgFactory.h"
00040 #include "xacmlpdp/XACMLFnFactory.h"
00041 
00042 using namespace ArcSec;
00043 
00044 Arc::PluginDescriptor PLUGINS_TABLE_NAME[] = {
00045     { "simplelist.pdp", "HED:PDP", 0,
00046                   &ArcSec::SimpleListPDP::get_simplelist_pdp},
00047     { "arc.pdp", "HED:PDP", 0,
00048                   &ArcSec::ArcPDP::get_arc_pdp},
00049     { "xacml.pdp", "HED:PDP", 0,
00050                   &ArcSec::XACMLPDP::get_xacml_pdp},
00051     { "pdpservice.invoker", "HED:PDP", 0,
00052                   &ArcSec::PDPServiceInvoker::get_pdpservice_invoker},
00053     { "delegation.pdp", "HED:PDP", 0,
00054                   &ArcSec::DelegationPDP::get_delegation_pdp},
00055     { "allow.pdp", "HED:PDP", 0,
00056                   &ArcSec::AllowPDP::get_allow_pdp},
00057     { "deny.pdp", "HED:PDP", 0,
00058                   &ArcSec::DenyPDP::get_deny_pdp},
00059     { "arc.authz", "HED:SHC", 0,
00060                   &ArcSec::ArcAuthZ::get_sechandler},
00061     { "usernametoken.handler",           "HED:SHC", 0,
00062                   &ArcSec::UsernameTokenSH::get_sechandler},
00063 #ifdef HAVE_XMLSEC
00064     { "x509token.handler", "HED:SHC", 0,
00065                   &ArcSec::X509TokenSH::get_sechandler},
00066     { "samltoken.handler", "HED:SHC", 0,
00067                   &ArcSec::SAMLTokenSH::get_sechandler},
00068     { "saml2ssoassertionconsumer.handler", "HED:SHC", 0,
00069                   &ArcSec::SAML2SSO_AssertionConsumerSH::get_sechandler},
00070 #endif
00071     { "delegation.handler", "HED:SHC", 0,
00072                   &ArcSec::DelegationSH::get_sechandler},
00073     { "arc.policy", "__arc_policy_modules__", 0,
00074                   &ArcSec::ArcPolicy::get_policy },
00075     { "xacml.policy", "__arc_policy_modules__", 0,
00076                  &ArcSec::XACMLPolicy::get_policy },
00077     { "gacl.policy", "__arc_policy_modules__", 0,     //__gacl_policy_modules__  --> __arc_policy_modules__
00078                   &ArcSec::GACLPolicy::get_policy },
00079     { "arc.evaluator", "__arc_evaluator_modules__", 0,
00080                   &ArcSec::ArcEvaluator::get_evaluator },
00081     { "xacml.evaluator", "__arc_evaluator_modules__", 0,
00082                   &ArcSec::XACMLEvaluator::get_evaluator },
00083     { "gacl.evaluator", "__arc_evaluator_modules__", 0,
00084                  &ArcSec::GACLEvaluator::get_evaluator },
00085     { "arc.request", "__arc_request_modules__", 0,
00086                  &ArcSec::ArcRequest::get_request },
00087     { "xacml.request", "__arc_request_modules__", 0,
00088                  &ArcSec::XACMLRequest::get_request },
00089     { "gacl.request", "__arc_request_modules__", 0,
00090                  &ArcSec::GACLRequest::get_request },
00091     { "arc.attrfactory", "__arc_attrfactory_modules__", 0,
00092                  &get_arcpdp_attr_factory },
00093     { "arc.algfactory", "__arc_algfactory_modules__", 0,
00094                  &get_arcpdp_alg_factory },
00095     { "arc.fnfactory", "__arc_fnfactory_modules__", 0,
00096                  &get_arcpdp_fn_factory },
00097     { "xacml.attrfactory", "__arc_attrfactory_modules__", 0,
00098                  &get_xacmlpdp_attr_factory },
00099     { "xacml.algfactory", "__arc_algfactory_modules__", 0,
00100                  &get_xacmlpdp_alg_factory },
00101     { "xacml.fnfactory", "__arc_fnfactory_modules__", 0,
00102                  &get_xacmlpdp_fn_factory },
00103     { NULL, NULL, 0, NULL }
00104 };
00105