-/*\r
- * Copyright 2010 Internet2\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-/**\r
- * @file shibsp/handler/LogoutInitiator.h\r
- * \r
- * Pluggable runtime functionality that handles initiating logout.\r
- */\r
-\r
-#ifndef __shibsp_logoutinitiator_h__\r
-#define __shibsp_logoutinitiator_h__\r
-\r
-#include <shibsp/handler/LogoutHandler.h>\r
-\r
-namespace shibsp {\r
-\r
- /**\r
- * Pluggable runtime functionality that handles initiating logout.\r
- */\r
- class SHIBSP_API LogoutInitiator : public LogoutHandler\r
- {\r
- protected:\r
- LogoutInitiator();\r
- public:\r
- virtual ~LogoutInitiator();\r
-\r
-#ifndef SHIBSP_LITE\r
- const char* getType() const;\r
-#endif\r
- };\r
- \r
- /** Registers LogoutInitiator implementations. */\r
- void SHIBSP_API registerLogoutInitiators();\r
-\r
- /** LogoutInitiator that iterates through a set of protocol-specific versions. */\r
- #define CHAINING_LOGOUT_INITIATOR "Chaining"\r
-\r
- /** LogoutInitiator that supports SAML 2.0 LogoutRequests. */\r
- #define SAML2_LOGOUT_INITIATOR "SAML2"\r
-\r
- /** LogoutInitiator that supports local-only logout. */\r
- #define LOCAL_LOGOUT_INITIATOR "Local"\r
-};\r
-\r
-#endif /* __shibsp_logoutinitiator_h__ */\r
+/*
+ * Copyright 2010 Internet2
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * @file shibsp/handler/LogoutInitiator.h
+ *
+ * Pluggable runtime functionality that handles initiating logout.
+ */
+
+#ifndef __shibsp_logoutinitiator_h__
+#define __shibsp_logoutinitiator_h__
+
+#include <shibsp/handler/LogoutHandler.h>
+
+namespace shibsp {
+
+ /**
+ * Pluggable runtime functionality that handles initiating logout.
+ */
+ class SHIBSP_API LogoutInitiator : public LogoutHandler
+ {
+ protected:
+ LogoutInitiator();
+ public:
+ virtual ~LogoutInitiator();
+
+#ifndef SHIBSP_LITE
+ const char* getType() const;
+#endif
+ };
+
+ /** Registers LogoutInitiator implementations. */
+ void SHIBSP_API registerLogoutInitiators();
+
+ /** LogoutInitiator that iterates through a set of protocol-specific versions. */
+ #define CHAINING_LOGOUT_INITIATOR "Chaining"
+
+ /** LogoutInitiator that supports SAML 2.0 LogoutRequests. */
+ #define SAML2_LOGOUT_INITIATOR "SAML2"
+
+ /** LogoutInitiator that supports local-only logout. */
+ #define LOCAL_LOGOUT_INITIATOR "Local"
+};
+
+#endif /* __shibsp_logoutinitiator_h__ */
-/*\r
- * Copyright 2010 Internet2\r
- * \r
- * Licensed under the Apache License, Version 2.0 (the "License");\r
- * you may not use this file except in compliance with the License.\r
- * You may obtain a copy of the License at\r
- *\r
- * http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- * Unless required by applicable law or agreed to in writing, software\r
- * distributed under the License is distributed on an "AS IS" BASIS,\r
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- * See the License for the specific language governing permissions and\r
- * limitations under the License.\r
- */\r
-\r
-/**\r
- * LogoutInitiator.cpp\r
- * \r
- * Pluggable runtime functionality that handles initiating logout.\r
- */\r
-\r
-#include "internal.h"\r
-#include "handler/LogoutInitiator.h"\r
-\r
-using namespace shibsp;\r
-using namespace xmltooling;\r
-using namespace std;\r
-\r
-namespace shibsp {\r
- SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory ChainingLogoutInitiatorFactory;\r
- SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory SAML2LogoutInitiatorFactory;\r
- SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory LocalLogoutInitiatorFactory;\r
-};\r
-\r
-void SHIBSP_API shibsp::registerLogoutInitiators()\r
-{\r
- SPConfig& conf=SPConfig::getConfig();\r
- conf.LogoutInitiatorManager.registerFactory(CHAINING_LOGOUT_INITIATOR, ChainingLogoutInitiatorFactory);\r
- conf.LogoutInitiatorManager.registerFactory(SAML2_LOGOUT_INITIATOR, SAML2LogoutInitiatorFactory);\r
- conf.LogoutInitiatorManager.registerFactory(LOCAL_LOGOUT_INITIATOR, LocalLogoutInitiatorFactory);\r
-}\r
-\r
-LogoutInitiator::LogoutInitiator()\r
-{\r
-}\r
-\r
-LogoutInitiator::~LogoutInitiator()\r
-{\r
-}\r
-\r
-#ifndef SHIBSP_LITE\r
-const char* LogoutInitiator::getType() const\r
-{\r
- return "LogoutInitiator";\r
-}\r
-#endif\r
+/*
+ * Copyright 2010 Internet2
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/**
+ * LogoutInitiator.cpp
+ *
+ * Pluggable runtime functionality that handles initiating logout.
+ */
+
+#include "internal.h"
+#include "handler/LogoutInitiator.h"
+
+using namespace shibsp;
+using namespace xmltooling;
+using namespace std;
+
+namespace shibsp {
+ SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory ChainingLogoutInitiatorFactory;
+ SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory SAML2LogoutInitiatorFactory;
+ SHIBSP_DLLLOCAL PluginManager< Handler,string,pair<const DOMElement*,const char*> >::Factory LocalLogoutInitiatorFactory;
+};
+
+void SHIBSP_API shibsp::registerLogoutInitiators()
+{
+ SPConfig& conf=SPConfig::getConfig();
+ conf.LogoutInitiatorManager.registerFactory(CHAINING_LOGOUT_INITIATOR, ChainingLogoutInitiatorFactory);
+ conf.LogoutInitiatorManager.registerFactory(SAML2_LOGOUT_INITIATOR, SAML2LogoutInitiatorFactory);
+ conf.LogoutInitiatorManager.registerFactory(LOCAL_LOGOUT_INITIATOR, LocalLogoutInitiatorFactory);
+}
+
+LogoutInitiator::LogoutInitiator()
+{
+}
+
+LogoutInitiator::~LogoutInitiator()
+{
+}
+
+#ifndef SHIBSP_LITE
+const char* LogoutInitiator::getType() const
+{
+ return "LogoutInitiator";
+}
+#endif