From 9975be338675d66ad237c5f70f5defa98809a30a Mon Sep 17 00:00:00 2001 From: cantor Date: Thu, 12 Aug 2010 01:22:53 +0000 Subject: [PATCH] Set line ending. git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@3292 cb58f699-b61c-0410-a6fe-9272a202ed29 --- shibsp/handler/LogoutInitiator.h | 116 ++++++++++++++++---------------- shibsp/handler/impl/LogoutInitiator.cpp | 114 +++++++++++++++---------------- 2 files changed, 115 insertions(+), 115 deletions(-) diff --git a/shibsp/handler/LogoutInitiator.h b/shibsp/handler/LogoutInitiator.h index fcf9fc8..c3caf9b 100644 --- a/shibsp/handler/LogoutInitiator.h +++ b/shibsp/handler/LogoutInitiator.h @@ -1,58 +1,58 @@ -/* - * 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 - -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__ */ +/* + * 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 + +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__ */ diff --git a/shibsp/handler/impl/LogoutInitiator.cpp b/shibsp/handler/impl/LogoutInitiator.cpp index efcb86b..52cb912 100644 --- a/shibsp/handler/impl/LogoutInitiator.cpp +++ b/shibsp/handler/impl/LogoutInitiator.cpp @@ -1,57 +1,57 @@ -/* - * 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 >::Factory ChainingLogoutInitiatorFactory; - SHIBSP_DLLLOCAL PluginManager< Handler,string,pair >::Factory SAML2LogoutInitiatorFactory; - SHIBSP_DLLLOCAL PluginManager< Handler,string,pair >::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 +/* + * 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 >::Factory ChainingLogoutInitiatorFactory; + SHIBSP_DLLLOCAL PluginManager< Handler,string,pair >::Factory SAML2LogoutInitiatorFactory; + SHIBSP_DLLLOCAL PluginManager< Handler,string,pair >::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 -- 2.1.4