Use shibboleth-sp as package name for compatibility.
[shibboleth/cpp-sp.git] / shibsp / handler / LogoutInitiator.h
index fcf9fc8..25e8e97 100644 (file)
@@ -1,58 +1,62 @@
-/*\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
+/**
+ * Licensed to the University Corporation for Advanced Internet
+ * Development, Inc. (UCAID) under one or more contributor license
+ * agreements. See the NOTICE file distributed with this work for
+ * additional information regarding copyright ownership.
+ *
+ * UCAID licenses this file to you 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__ */