diff --git a/.gitignore b/.gitignore index 5efc0ad..74a7e15 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,295 @@ -bin -obj +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files *.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ +**/Properties/launchSettings.json + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Typescript v1 declaration files +typings/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +tools/** +!tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs \ No newline at end of file diff --git a/DotNetCasClient.sln b/DotNetCasClient.sln index 0e644f7..b1af275 100644 --- a/DotNetCasClient.sln +++ b/DotNetCasClient.sln @@ -1,85 +1,22 @@  -Microsoft Visual Studio Solution File, Format Version 10.00 -# Visual Studio 2008 +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26430.15 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCasClient", "DotNetCasClient\DotNetCasClient.csproj", "{883A296E-C898-4D1F-9ED9-DE7569DEFB3D}" EndProject -Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "ExampleWebSite", "ExampleWebSite\", "{F9E9F25D-1008-4098-A4A7-179A0512F745}" - ProjectSection(WebsiteProperties) = preProject - TargetFramework = "3.5" - ProjectReferences = "{883A296E-C898-4D1F-9ED9-DE7569DEFB3D}|DotNetCasClient.dll;" - Debug.AspNetCompiler.VirtualPath = "/ExampleWebSite" - Debug.AspNetCompiler.PhysicalPath = "ExampleWebSite\" - Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleWebSite\" - Debug.AspNetCompiler.Updateable = "true" - Debug.AspNetCompiler.ForceOverwrite = "true" - Debug.AspNetCompiler.FixedNames = "false" - Debug.AspNetCompiler.Debug = "True" - Release.AspNetCompiler.VirtualPath = "/ExampleWebSite" - Release.AspNetCompiler.PhysicalPath = "ExampleWebSite\" - Release.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleWebSite\" - Release.AspNetCompiler.Updateable = "true" - Release.AspNetCompiler.ForceOverwrite = "true" - Release.AspNetCompiler.FixedNames = "false" - Release.AspNetCompiler.Debug = "False" - VWDPort = "3273" - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCasProxyDemoApp", "DotNetCasProxyDemoApp\DotNetCasProxyDemoApp.csproj", "{C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}" -EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|.NET = Debug|.NET Debug|Any CPU = Debug|Any CPU - Debug|Mixed Platforms = Debug|Mixed Platforms - Debug|x86 = Debug|x86 - Release|.NET = Release|.NET Release|Any CPU = Release|Any CPU - Release|Mixed Platforms = Release|Mixed Platforms - Release|x86 = Release|x86 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|.NET.ActiveCfg = Debug|Any CPU {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|x86.ActiveCfg = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|.NET.ActiveCfg = Release|Any CPU {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Any CPU.ActiveCfg = Release|Any CPU {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Any CPU.Build.0 = Release|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Mixed Platforms.Build.0 = Release|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|x86.ActiveCfg = Release|Any CPU - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|.NET.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|.NET.Build.0 = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|Any CPU.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|Mixed Platforms.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|Mixed Platforms.Build.0 = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Debug|x86.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|.NET.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|.NET.Build.0 = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|Any CPU.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|Mixed Platforms.ActiveCfg = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|Mixed Platforms.Build.0 = Debug|.NET - {F9E9F25D-1008-4098-A4A7-179A0512F745}.Release|x86.ActiveCfg = Debug|.NET - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|.NET.ActiveCfg = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|Any CPU.ActiveCfg = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|Mixed Platforms.ActiveCfg = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|Mixed Platforms.Build.0 = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|x86.ActiveCfg = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|x86.Build.0 = Debug|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|.NET.ActiveCfg = Release|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|Any CPU.ActiveCfg = Release|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|Mixed Platforms.ActiveCfg = Release|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|Mixed Platforms.Build.0 = Release|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|x86.ActiveCfg = Release|x86 - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|x86.Build.0 = Release|x86 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection - GlobalSection(SubversionScc) = preSolution - Svn-Managed = True - Manager = AnkhSVN - Subversion Support for Visual Studio - EndGlobalSection EndGlobal diff --git a/DotNetCasClient.vs2010.sln b/DotNetCasClient.vs2010.sln deleted file mode 100644 index 4893440..0000000 --- a/DotNetCasClient.vs2010.sln +++ /dev/null @@ -1,51 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 11.00 -# Visual Studio 2010 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCasClient", "DotNetCasClient\DotNetCasClient.csproj", "{883A296E-C898-4D1F-9ED9-DE7569DEFB3D}" -EndProject -Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "ExampleWebSite", "ExampleWebSite\", "{80736A8B-08F2-4E9B-811D-315810C021A0}" - ProjectSection(WebsiteProperties) = preProject - TargetFrameworkMoniker = ".NETFramework,Version%3Dv2.0" - ProjectReferences = "{883A296E-C898-4D1F-9ED9-DE7569DEFB3D}|DotNetCasClient.dll;" - Debug.AspNetCompiler.VirtualPath = "/ExampleWebSite" - Debug.AspNetCompiler.PhysicalPath = "ExampleWebSite\" - Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleWebSite\" - Debug.AspNetCompiler.Updateable = "true" - Debug.AspNetCompiler.ForceOverwrite = "true" - Debug.AspNetCompiler.FixedNames = "false" - Debug.AspNetCompiler.Debug = "True" - Release.AspNetCompiler.VirtualPath = "/ExampleWebSite" - Release.AspNetCompiler.PhysicalPath = "ExampleWebSite\" - Release.AspNetCompiler.TargetPath = "PrecompiledWeb\ExampleWebSite\" - Release.AspNetCompiler.Updateable = "true" - Release.AspNetCompiler.ForceOverwrite = "true" - Release.AspNetCompiler.FixedNames = "false" - Release.AspNetCompiler.Debug = "False" - VWDPort = "3273" - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetCasProxyDemoApp", "DotNetCasProxyDemoApp\DotNetCasProxyDemoApp.csproj", "{C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D}.Release|Any CPU.Build.0 = Release|Any CPU - {80736A8B-08F2-4E9B-811D-315810C021A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {80736A8B-08F2-4E9B-811D-315810C021A0}.Debug|Any CPU.Build.0 = Debug|Any CPU - {80736A8B-08F2-4E9B-811D-315810C021A0}.Release|Any CPU.ActiveCfg = Debug|Any CPU - {80736A8B-08F2-4E9B-811D-315810C021A0}.Release|Any CPU.Build.0 = Debug|Any CPU - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C8D6000A-13EC-4F2E-8FCD-AC7806F5BD4C}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/DotNetCasClient/CasAuthentication.cs b/DotNetCasClient/CasAuthentication.cs index ad6ea2e..357cf9d 100644 --- a/DotNetCasClient/CasAuthentication.cs +++ b/DotNetCasClient/CasAuthentication.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -283,7 +283,17 @@ public static void Initialize() else { if (String.Compare(CasClientConfiguration.CACHE_SERVICE_TICKET_MANAGER, serviceTicketManagerProvider) == 0) + { +#if NET20 || NET35 + // Use the service ticket manager that implements an in-memory cache supported by .NET 2.0/3.5. serviceTicketManager = new CacheServiceTicketManager(); +#endif + +#if NET40 || NET45 + // Use the service ticket manager that implements an in-memory cache supported by .NET 4.x. + serviceTicketManager = new MemoryCacheServiceTicketManager(); +#endif + } else { // the service ticket manager is not recognized, let's try to get it using Reflection then @@ -308,7 +318,17 @@ public static void Initialize() else { if (String.Compare(CasClientConfiguration.CACHE_PROXY_TICKET_MANAGER, proxyTicketManagerProvider) == 0) + { +#if NET20 || NET35 + // Use the proxy ticket manager that implements an in-memory cache supported by .NET 2.0/3.5. proxyTicketManager = new CacheProxyTicketManager(); +#endif + +#if NET40 || NET45 + // Use the proxy ticket manager that implements an in-memory cache supported by .NET 4.x. + proxyTicketManager = new MemoryCacheProxyTicketManager(); +#endif + } else { // the proxy ticket manager is not recognized, let's try to get it using Reflection then @@ -676,7 +696,7 @@ public static void GatewayAuthenticate(bool ignoreGatewayStatusCookie) /// configured to maintain session state on the server. In the case of /// ASP.NET web applications using DotNetCasClient, this requires defining a /// serviceTicketManager. The configuration for other client types (Java, - /// PHP) varies based on the client implementation. Consult the Jasig wiki + /// PHP) varies based on the client implementation. Consult the Apereo wiki /// for more details. /// public static void SingleSignOut() @@ -1248,9 +1268,9 @@ private static void LogAndThrowOperationException(string message) protoLogger.Error(message); throw new InvalidOperationException(message); } - #endregion +#endregion - #region Properties +#region Properties /// /// Name of ticket validator that validates CAS tickets using a /// particular protocol. Valid values are Cas10, Cas20, and Saml11. @@ -1344,7 +1364,7 @@ public static IProxyTicketManager ProxyTicketManager } /// - /// Enable CAS gateway feature, see http://www.jasig.org/cas/protocol section 2.1.1. + /// Enable CAS gateway feature, see https://apereo.github.io/cas/5.1.x/protocol/CAS-Protocol-Specification.html section 2.1.1. /// Default is false. /// public static bool Gateway @@ -1601,6 +1621,6 @@ public static string[] BypassCasForHandlers } } - #endregion +#endregion } } \ No newline at end of file diff --git a/DotNetCasClient/CasAuthenticationModule.cs b/DotNetCasClient/CasAuthenticationModule.cs index 19ba3e5..949cfec 100644 --- a/DotNetCasClient/CasAuthenticationModule.cs +++ b/DotNetCasClient/CasAuthenticationModule.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/CasAuthenticationTicket.cs b/DotNetCasClient/CasAuthenticationTicket.cs index ae07d88..5a80cd7 100644 --- a/DotNetCasClient/CasAuthenticationTicket.cs +++ b/DotNetCasClient/CasAuthenticationTicket.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Configuration/CasClientConfiguration.cs b/DotNetCasClient/Configuration/CasClientConfiguration.cs index 6bdf276..a4b0ded 100644 --- a/DotNetCasClient/Configuration/CasClientConfiguration.cs +++ b/DotNetCasClient/Configuration/CasClientConfiguration.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -447,12 +447,12 @@ public string ProxyCallbackUrl /// /// Sets the AuthenticationType for IIdentity /// - [ConfigurationProperty(AUTHENTICATION_TYPE, IsRequired = false, DefaultValue = "Jasig CAS")] + [ConfigurationProperty(AUTHENTICATION_TYPE, IsRequired = false, DefaultValue = "Apereo CAS")] public string AuthenticationType { get { - return this[AUTHENTICATION_TYPE] as string ?? "Jasig CAS"; + return this[AUTHENTICATION_TYPE] as string ?? "Apereo CAS"; } } #endregion diff --git a/DotNetCasClient/Configuration/CasConfigurationException.cs b/DotNetCasClient/Configuration/CasConfigurationException.cs index fa75b6b..7fbdf46 100644 --- a/DotNetCasClient/Configuration/CasConfigurationException.cs +++ b/DotNetCasClient/Configuration/CasConfigurationException.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/DotNetCasClient.csproj b/DotNetCasClient/DotNetCasClient.csproj index ec36db1..fe8d6a9 100644 --- a/DotNetCasClient/DotNetCasClient.csproj +++ b/DotNetCasClient/DotNetCasClient.csproj @@ -1,277 +1,53 @@ - - + - Debug - AnyCPU - 9.0.30729 - 2.0 - {883A296E-C898-4D1F-9ED9-DE7569DEFB3D} - Library - Properties + false + true DotNetCasClient DotNetCasClient - v2.0 - 512 - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - + net45;net40;net35;net20 + 2.0 + {883A296E-C898-4D1F-9ED9-DE7569DEFB3D} + + + NET45 + + + NET40 - - true - full - false - bin\Debug\ + + NET35 + + + NET20 + + + MinimumRecommendedRules.ruleset TRACE;DEBUG - prompt - 4 - AllRules.ruleset - bin\Debug\DotNetCasClient.xml - - pdbonly - true - bin\Release\ + + MinimumRecommendedRules.ruleset TRACE - prompt - 4 - AllRules.ruleset - bin\Release\DotNetCasClient.xml - + + - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False - .NET Framework 3.5 SP1 Client Profile - false - - - False - .NET Framework 3.5 SP1 - true - - - False - Windows Installer 3.1 - true - + + + + + + + + + + + - - \ No newline at end of file diff --git a/DotNetCasClient/DotNetCasClient.nuspec b/DotNetCasClient/DotNetCasClient.nuspec index c4ef2e7..a212925 100644 --- a/DotNetCasClient/DotNetCasClient.nuspec +++ b/DotNetCasClient/DotNetCasClient.nuspec @@ -1,17 +1,43 @@ - - - $id$ - $version$ - $title$ - $author$ - $author$ - https://github.com/Jasig/dotnet-cas-client/blob/master/LICENSE.txt - https://github.com/Jasig/dotnet-cas-client - true - $description$ - DotNet CAS Client Release $version$ - Copyright 2015 - $version$ - + + + DotNetCasClient + $version$ + $title$ + Marvin S. Addison,Scott Battaglia,Scott Holodak,Misagh Moayyed,William G. Thompson,Jr.,Catherine D. Winfrey,Blair Allen,Jason Kanaris + $owners$ + https://github.com/apereo/dotnet-cas-client/blob/master/LICENSE.txt + https://github.com/apereo/dotnet-cas-client + https://avatars2.githubusercontent.com/u/4679233?v=3&s=64 + $copyright$ + true + $description$ + The Apereo .NET CAS client provides CAS integration for the Microsoft Windows platform via the .NET framework. + en-US + Apereo Jasig CAS Authentication Authn ASP.NET MVC MVC2 MVC3 MVC4 MVC5 WebForms + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DotNetCasClient/GatewayStatus.cs b/DotNetCasClient/GatewayStatus.cs index f605920..5266674 100644 --- a/DotNetCasClient/GatewayStatus.cs +++ b/DotNetCasClient/GatewayStatus.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Logging/Category.cs b/DotNetCasClient/Logging/Category.cs index 281ff77..fcf7c99 100644 --- a/DotNetCasClient/Logging/Category.cs +++ b/DotNetCasClient/Logging/Category.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Logging/Logger.cs b/DotNetCasClient/Logging/Logger.cs index 38338cd..7ceaffa 100644 --- a/DotNetCasClient/Logging/Logger.cs +++ b/DotNetCasClient/Logging/Logger.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Properties/AssemblyInfo.cs b/DotNetCasClient/Properties/AssemblyInfo.cs index 00135b2..c7b3637 100644 --- a/DotNetCasClient/Properties/AssemblyInfo.cs +++ b/DotNetCasClient/Properties/AssemblyInfo.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -20,19 +20,12 @@ using System.Reflection; using System.Runtime.InteropServices; -[assembly: AssemblyTitle("DotNetCasClient")] -[assembly: AssemblyDescription("CAS client integration library for the .NET Framework.")] #if DEBUG [assembly: AssemblyConfiguration("Debug")] #else [assembly: AssemblyConfiguration("Release")] #endif -[assembly: AssemblyCompany("Jasig")] -[assembly: AssemblyProduct("DotNetCasClient")] -[assembly: AssemblyCopyright("Copyright © 2007-2010 Jasig. All rights reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] [assembly: Guid("112fbe82-5287-411f-96c7-cfd3bab1ebd3")] -[assembly: AssemblyVersion("1.0.3.*")] -[assembly: AssemblyFileVersion("1.0.3.*")] diff --git a/DotNetCasClient/Properties/AutoGeneratedAssemblyInfo.cs b/DotNetCasClient/Properties/AutoGeneratedAssemblyInfo.cs new file mode 100644 index 0000000..2b952c5 --- /dev/null +++ b/DotNetCasClient/Properties/AutoGeneratedAssemblyInfo.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by Cake. +// +//------------------------------------------------------------------------------ +using System.Reflection; + +[assembly: AssemblyTitle("Apereo .NET CAS Client")] +[assembly: AssemblyDescription(".NET client for the Apereo Central Authentication Service (CAS)")] +[assembly: AssemblyCompany("Apereo Foundation")] +[assembly: AssemblyProduct("Apereo .NET CAS Client")] +[assembly: AssemblyVersion("1.1.0.0")] +[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyInformationalVersion("1.1.0-beta.3+Branch.release/1.1.0.Sha.2d933acd717368290d2a33effbe13208550d9494")] +[assembly: AssemblyCopyright("Copyright (c) 2007-2017 Apereo. All rights reserved.")] + diff --git a/DotNetCasClient/Security/Assertion.cs b/DotNetCasClient/Security/Assertion.cs index 2555fdd..17f058b 100644 --- a/DotNetCasClient/Security/Assertion.cs +++ b/DotNetCasClient/Security/Assertion.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Security/CasPrincipal.cs b/DotNetCasClient/Security/CasPrincipal.cs index 938fb65..8d3efda 100644 --- a/DotNetCasClient/Security/CasPrincipal.cs +++ b/DotNetCasClient/Security/CasPrincipal.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Security/IAssertion.cs b/DotNetCasClient/Security/IAssertion.cs index ef8fab0..942e61a 100644 --- a/DotNetCasClient/Security/IAssertion.cs +++ b/DotNetCasClient/Security/IAssertion.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Security/ICasPrincipal.cs b/DotNetCasClient/Security/ICasPrincipal.cs index a22c2e8..0adcafb 100644 --- a/DotNetCasClient/Security/ICasPrincipal.cs +++ b/DotNetCasClient/Security/ICasPrincipal.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Security/ReadOnlyXmlRoleProvider.cs b/DotNetCasClient/Security/ReadOnlyXmlRoleProvider.cs index a76ff91..d131a73 100644 --- a/DotNetCasClient/Security/ReadOnlyXmlRoleProvider.cs +++ b/DotNetCasClient/Security/ReadOnlyXmlRoleProvider.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/State/CacheProxyTicketManager.cs b/DotNetCasClient/State/CacheProxyTicketManager.cs index 8274cd1..e0a3c43 100644 --- a/DotNetCasClient/State/CacheProxyTicketManager.cs +++ b/DotNetCasClient/State/CacheProxyTicketManager.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -17,6 +17,7 @@ * under the License. */ +#if NET20 || NET35 using System; using System.Web; using System.Web.Caching; @@ -82,3 +83,4 @@ public string GetProxyGrantingTicket(string proxyGrantingTicketIou) } } } +#endif \ No newline at end of file diff --git a/DotNetCasClient/State/CacheServiceTicketManager.cs b/DotNetCasClient/State/CacheServiceTicketManager.cs index 2bfa185..4ce6b68 100644 --- a/DotNetCasClient/State/CacheServiceTicketManager.cs +++ b/DotNetCasClient/State/CacheServiceTicketManager.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -17,6 +17,7 @@ * under the License. */ +#if NET20 || NET35 using System; using System.Collections; using System.Collections.Generic; @@ -373,3 +374,4 @@ private static string GetTicketKey(string serviceTicket) } } } +#endif \ No newline at end of file diff --git a/DotNetCasClient/State/IProxyTicketManager.cs b/DotNetCasClient/State/IProxyTicketManager.cs index 308e12f..88b9ed7 100644 --- a/DotNetCasClient/State/IProxyTicketManager.cs +++ b/DotNetCasClient/State/IProxyTicketManager.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/State/IServiceTicketManager.cs b/DotNetCasClient/State/IServiceTicketManager.cs index 83b2b51..65d7985 100644 --- a/DotNetCasClient/State/IServiceTicketManager.cs +++ b/DotNetCasClient/State/IServiceTicketManager.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/State/MemoryCacheManager.cs b/DotNetCasClient/State/MemoryCacheManager.cs new file mode 100644 index 0000000..9357282 --- /dev/null +++ b/DotNetCasClient/State/MemoryCacheManager.cs @@ -0,0 +1,171 @@ +/* + * Licensed to Apereo under one or more contributor license + * agreements. See the NOTICE file distributed with this work + * for additional information regarding copyright ownership. + * Apereo 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. + */ + +#if NET40 || NET45 +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.Caching; + +namespace DotNetCasClient.State +{ + public class MemoryCacheManager + { + private static readonly Lazy lazy = new Lazy(() => new MemoryCacheManager()); + + public static MemoryCacheManager Instance { get { return lazy.Value; } } + + private MemoryCache _cache; + + /// + /// Used for locking the cache object against other threads while an item in the cache is refreshed. + /// + private object _cacheLock; + + private MemoryCacheManager() + { + // Inititalize lock object. + _cacheLock = new object(); + + if (_cache == null) + { + _cache = new MemoryCache("apereo-cas-client"); + } + } + + /// + /// Returns the number of items in the cache. + /// + /// Returns an integer representing the number of items in the cache. + public int Count() + { + return _cache.Count(); + } + + /// + /// Removes all items from the cache. + /// + public void Clear() + { + var cacheItemKeys = _cache.ToList(); + foreach (var cacheItemKey in cacheItemKeys) + { + Remove(cacheItemKey.Key); + } + } + + /// + /// Removes an item from the cache with the specified key. + /// + /// Key of the item to remove from the cache. + public void Remove(string key) + { + if (Contains(key)) + _cache.Remove(key); + } + + /// + /// Checks if an item exists in the cache. + /// + /// Key of the object to check. + /// Returns true if the object exists in the cache; otherwise it returns false. + public bool Contains(string key) + { + return _cache.Contains(key); + } + + /// + /// Retrieves a copy of the requested item from cache using the provided key. If the item is available, it returns it as the type specified; otherwise, it returns the default of the type specified. + /// + /// Key of the item to store in the cache. + public T Get(string key) + { + if (!Contains(key)) + { + return default(T); + } + + return (T)_cache[key]; + } + + /// + /// Retrieves a copy of the requested item from cache using the provided key. If the item is available, it returns it; otherwise, it returns null. + /// + /// Key of the item to store in the cache. + public object Get(string key) + { + if (!Contains(key)) + { + return null; + } + + return _cache[key]; + } + + /// + /// Retrieves all items from the cache. + /// + /// A IEnumerable KeyValuePair collection. + public IEnumerable> GetAll() + { + return _cache.ToList().AsEnumerable(); + } + + /// + /// Inserts a copy of the requested item into cache using the provided key. The item is cached with a CacheItemPolicy that has an absolute expiration set to the expiration timespan provided. + /// + /// Key of the item to store in the cache. + /// Value of the item to store in the cache. + /// TimeSpan from DateTime.Now to expire the item from cache. + public void Set(string key, object value, TimeSpan expiration) + { + // If the item is not in the cache, lock _cacheLock to prevent other calls to the cache while we re-insert the item. + lock (_cacheLock) + { + // Check if the item is still not in the cache. + if (!Contains(key)) + { + // Insert the item into cache. + _cache.Set(key, value, DateTimeOffset.Now.Add(expiration)); + } + } + } + + /// + /// Inserts a copy of the requested item into cache using the provided key. The item is cached with a CacheItemPolicy that has an absolute expiration set to the expiration timespan provided. + /// + /// Key of the item to store in the cache. + /// Value of the item to store in the cache. + /// Specific DateTime to expire the item from cache. + public void Set(string key, object value, DateTime expiration) + { + // If the item is not in the cache, lock _cacheLock to prevent other calls to the cache while we re-insert the item. + lock (_cacheLock) + { + // Check if the item is still not in the cache. + if (!Contains(key)) + { + // Insert the item into cache. + _cache.Set(key, value, new DateTimeOffset(expiration)); + } + } + } + } +} +#endif \ No newline at end of file diff --git a/DotNetCasClient/State/MemoryCacheProxyTicketManager.cs b/DotNetCasClient/State/MemoryCacheProxyTicketManager.cs new file mode 100644 index 0000000..c3e691a --- /dev/null +++ b/DotNetCasClient/State/MemoryCacheProxyTicketManager.cs @@ -0,0 +1,84 @@ +/* + * Licensed to Apereo under one or more contributor license + * agreements. See the NOTICE file distributed with this work + * for additional information regarding copyright ownership. + * Apereo 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. + */ + +#if NET40 || NET45 +using System; + +namespace DotNetCasClient.State +{/// + /// An IProxyTicketManager implementation that relies on the System.Runtime.Caching caching model for ticket + /// storage. Generally this implies that the ticket storage is maintained locally on the web + /// server (either in memory or on disk). A limitation of this model is that it will not + /// support clustered, load balanced, or round-robin style configurations. + /// + /// Jason Kanaris + public class MemoryCacheProxyTicketManager : IProxyTicketManager + { + private static readonly TimeSpan DefaultExpiration = new TimeSpan(0, 0, 3, 0); // 180 seconds + + /// + /// You retrieve CasAuthentication properties in the constructor or else you will cause + /// a StackOverflow. CasAuthentication.Initialize() will call Initialize() on all + /// relevant controls when its initialization is complete. In Initialize(), you can + /// retrieve properties from CasAuthentication. + /// + public void Initialize() + { + // Do nothing + } + + /// + /// Removes expired PGTIOU-PGT from the ticket store + /// + public void RemoveExpiredMappings() + { + // No-op. The System.Runtime.Caching.ObjectCache provider removes expired entries automatically. + } + + /// + /// Method to save the ProxyGrantingTicket to the backing storage facility. + /// + /// used as the key + /// used as the value + public void InsertProxyGrantingTicketMapping(string proxyGrantingTicketIou, string proxyGrantingTicket) + { + MemoryCacheManager.Instance.Set(proxyGrantingTicketIou, proxyGrantingTicket, DefaultExpiration); + } + + /// + /// Method to retrieve a ProxyGrantingTicket based on the + /// ProxyGrantingTicketIou. Implementations are not guaranteed to + /// return the same result if retieve is called twice with the same + /// proxyGrantingTicketIou. + /// + /// used as the key + /// the ProxyGrantingTicket Id or null if it can't be found + public string GetProxyGrantingTicket(string proxyGrantingTicketIou) + { + + if (MemoryCacheManager.Instance.Contains(proxyGrantingTicketIou) && !string.IsNullOrWhiteSpace(MemoryCacheManager.Instance.Get(proxyGrantingTicketIou))) + { + return MemoryCacheManager.Instance.Get(proxyGrantingTicketIou); + } + + return null; + } + } +} +#endif \ No newline at end of file diff --git a/DotNetCasClient/State/MemoryCacheServiceTicketManager.cs b/DotNetCasClient/State/MemoryCacheServiceTicketManager.cs new file mode 100644 index 0000000..2430e6d --- /dev/null +++ b/DotNetCasClient/State/MemoryCacheServiceTicketManager.cs @@ -0,0 +1,360 @@ +/* + * Licensed to Apereo under one or more contributor license + * agreements. See the NOTICE file distributed with this work + * for additional information regarding copyright ownership. + * Apereo 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. + */ + +#if NET40 || NET45 +using System; +using System.Collections.Generic; +using DotNetCasClient.Logging; +using DotNetCasClient.Utils; + +namespace DotNetCasClient.State +{ + /// + /// An IServiceTicketManager implementation that relies on the System.Runtime.Caching caching model for ticket storage. Generally this implies that the ticket storage is maintained locally on the web server (either in memory or on disk). A limitation of this model is that it will not support clustered, load balanced, or round-robin style configurations. + /// + /// Jason Kanaris + public sealed class MemoryCacheServiceTicketManager : IServiceTicketManager + { + /// + /// This prefix is prepended to CAS Service Ticket as the key to the cache. + /// + private const string CACHE_TICKET_KEY_PREFIX = "CasTicket::"; + + private static readonly Logger securityLogger = new Logger(Category.Security); + + /// + /// Parameterless constructor needed for Reflection to instantiate it properly + /// + public MemoryCacheServiceTicketManager() { } + + /// + /// Performs initialization of the MemoryCacheServiceTicketManager + /// + public void Initialize() + { + // Do nothing + } + + /// + /// Removes expired entries from the ticket store + /// + public void RemoveExpiredTickets() + { + // No-op. The System.Runtime.Caching.ObjectCache provider removes expired entries automatically. + } + + /// + /// Retrieve a CasAuthenticationTicket from the ticket store by it's CAS Service Ticket + /// + /// The service ticket generated by the CAS server + /// The CasAuthenticationTicket or null if no matching ticket is found + /// serviceTicket is null + /// serviceTicket is empty + public CasAuthenticationTicket GetTicket(string serviceTicket) + { + CommonUtils.AssertNotNullOrEmpty(serviceTicket, "serviceTicket parameter cannot be null or empty."); + + string key = GetTicketKey(serviceTicket); + if (MemoryCacheManager.Instance.Get(key) != null) + { + CasAuthenticationTicket result = MemoryCacheManager.Instance.Get(key) as CasAuthenticationTicket; + return result; + } + return null; + } + + /// + /// Inserts a CasAuthenticationTicket to the ticket store with a corresponding + /// ticket expiration date. + /// + /// The CasAuthenticationTicket to insert + /// The date and time at which the ticket expires + /// casAuthenticationTicket is null + public void InsertTicket(CasAuthenticationTicket casAuthenticationTicket, DateTime expiration) + { + CommonUtils.AssertNotNull(casAuthenticationTicket, "casAuthenticationTicket parameter cannot be null."); + + // Don't enforce sliding expiration on the cache entry. Sliding expiration is handled by the HttpModule. + MemoryCacheManager.Instance.Set(GetTicketKey(casAuthenticationTicket.ServiceTicket), casAuthenticationTicket, expiration); + } + + /// + /// Updates the expiration date and time for an existing ticket. If the ticket does not exist in the ticket store, just return (do not throw an exception). + /// + /// The CasAuthenticationTicket to insert + /// The new expiration date and time + /// casAuthenticationTicket is null + public void UpdateTicketExpiration(CasAuthenticationTicket casAuthenticationTicket, DateTime newExpiration) + { + CommonUtils.AssertNotNull(casAuthenticationTicket, "casAuthenticationTicket parameter cannot be null."); + + RevokeTicket(casAuthenticationTicket.ServiceTicket); + InsertTicket(casAuthenticationTicket, newExpiration); + } + + /// + /// Removes the ticket from the collection if it exists. If the ticket does not exist in the ticket store, just return (do not throw an exception). + /// + /// The ticket to remove from the ticket store + /// serviceTicket is null + /// serviceTicket is empty + public void RevokeTicket(string serviceTicket) + { + CommonUtils.AssertNotNullOrEmpty(serviceTicket, "serviceTicket parameter cannot be null or empty."); + + string key = GetTicketKey(serviceTicket); + if (MemoryCacheManager.Instance.Get(key) != null) + { + CasAuthenticationTicket ticket = MemoryCacheManager.Instance.Get(key) as CasAuthenticationTicket; + if (ticket != null) + { + if (MemoryCacheManager.Instance.Get(key) != null) + { + MemoryCacheManager.Instance.Remove(key); + } + } + } + } + + /// + /// Indicates whether or not the ticket store contains the supplied serviceTicket + /// + /// The service ticket to check for + /// True if the ticket is contained in the store + /// serviceTicket is null + /// serviceTicket is empty + public bool ContainsTicket(string serviceTicket) + { + CommonUtils.AssertNotNullOrEmpty(serviceTicket, "serviceTicket parameter cannot be null or empty."); + + string key = GetTicketKey(serviceTicket); + if (MemoryCacheManager.Instance.Get(key) != null) + { + CasAuthenticationTicket currentAuthTicket = MemoryCacheManager.Instance.Get(key) as CasAuthenticationTicket; + if (currentAuthTicket != null) + { + if (currentAuthTicket.ServiceTicket == serviceTicket) + { + return true; + } + } + } + + return false; + } + + /// + /// Revoke all tickets corresponding to the supplied NetId. + /// + /// The NetId to revoke tickets for + /// The netId supplied is null + /// The netId supplied is empty + public void RevokeUserTickets(string netId) + { + CommonUtils.AssertNotNullOrEmpty(netId, "netId parameter cannot be null or empty."); + + IEnumerable allTickets = GetAllTickets(); + foreach (CasAuthenticationTicket ticket in allTickets) + { + if (String.Compare(ticket.NetId, netId, true) == 0) + { + RevokeTicket(ticket.ServiceTicket); + } + } + } + + /// + /// Retrieves all tickets in the ticket store that have not already expired. + /// + /// An enumerable collection of CasAuthenticationTickets + public IEnumerable GetAllTickets() + { + var cacheItems = MemoryCacheManager.Instance.GetAll(); + foreach (var cacheItem in cacheItems) + { + if (cacheItem.Key != null && cacheItem.Key.StartsWith(CACHE_TICKET_KEY_PREFIX)) + { + CasAuthenticationTicket currentTicket = cacheItem.Value as CasAuthenticationTicket; + if (currentTicket != null) + { + yield return currentTicket; + } + } + } + } + + /// + /// Retrieves all non-expired tickets in the ticket store associated with the + /// netId supplied. + /// + /// The NetId to search the collection for + /// An enumerable collection of CasAuthenticationTickets + /// netId is null + /// netId is empty + public IEnumerable GetUserTickets(string netId) + { + CommonUtils.AssertNotNullOrEmpty(netId, "netId parameter cannot be null or empty."); + + var cacheItems = MemoryCacheManager.Instance.GetAll(); + foreach (var cacheItem in cacheItems) + { + if (cacheItem.Key != null && cacheItem.Key.StartsWith(CACHE_TICKET_KEY_PREFIX)) + { + CasAuthenticationTicket currentTicket = cacheItem.Value as CasAuthenticationTicket; + if (currentTicket != null && String.Compare(currentTicket.NetId, netId, true) == 0) + { + yield return currentTicket; + } + } + } + } + + /// + /// Retrieves all CAS Service Tickets in the ticket store that have not already + /// expired. + /// + /// An enumerable collection of service tickets + public IEnumerable GetAllServiceTickets() + { + var cacheItems = MemoryCacheManager.Instance.GetAll(); + foreach (var cacheItem in cacheItems) + { + if (cacheItem.Key != null && cacheItem.Key.StartsWith(CACHE_TICKET_KEY_PREFIX)) + { + CasAuthenticationTicket currentAuthTicket = cacheItem.Value as CasAuthenticationTicket; + if (currentAuthTicket != null) + { + yield return currentAuthTicket.ServiceTicket; + } + } + } + } + + /// + /// Retrieves all non-expired CAS Service Tickets in the ticket store associated + /// with the netId supplied. + /// + /// The netId to search the collection for + /// An enumerable collection of service tickets + /// netId is null + /// netId is empty + public IEnumerable GetUserServiceTickets(string netId) + { + CommonUtils.AssertNotNullOrEmpty(netId, "netId parameter cannot be null or empty."); + + var cacheItems = MemoryCacheManager.Instance.GetAll(); + foreach (var cacheItem in cacheItems) + { + if (cacheItem.Key != null && cacheItem.Key.StartsWith(CACHE_TICKET_KEY_PREFIX)) + { + CasAuthenticationTicket currentAuthTicket = cacheItem.Value as CasAuthenticationTicket; + if (currentAuthTicket != null && String.Compare(currentAuthTicket.NetId, netId, true) == 0) + { + yield return currentAuthTicket.ServiceTicket; + } + } + } + } + + /// + /// Retrieves a list of all users that have non-expired CAS authentication + /// tickets. + /// + /// An enumerable collection of NetId's + public IEnumerable GetAllTicketedUsers() + { + List result = new List(); + IEnumerable tickets = GetAllTickets(); + foreach (CasAuthenticationTicket ticket in tickets) + { + if (!result.Contains(ticket.NetId)) + { + result.Add(ticket.NetId); + } + } + return result.ToArray(); + } + + /// + /// Verify that the supplied casAuthenticationTicket exists in the ticket store + /// + /// The casAuthenticationTicket to verify + /// + /// True if the ticket exists in the ticket store and the properties of that + /// ticket match the properties of the ticket in the ticket store. + /// + public bool VerifyClientTicket(CasAuthenticationTicket casAuthenticationTicket) + { + CommonUtils.AssertNotNull(casAuthenticationTicket, "casAuthenticationTicket parameter cannot be null."); + + string incomingServiceTicket = casAuthenticationTicket.ServiceTicket; + CasAuthenticationTicket cacheAuthTicket = GetTicket(incomingServiceTicket); + if (cacheAuthTicket != null) + { + string cacheServiceTicket = cacheAuthTicket.ServiceTicket; + if (cacheServiceTicket == incomingServiceTicket) + { + if (String.Compare(cacheAuthTicket.NetId, casAuthenticationTicket.NetId, true) != 0) + { + securityLogger.Info("Username {0} in ticket {1} does not match cached value.", + casAuthenticationTicket.NetId, incomingServiceTicket); + return false; + } + + if (String.Compare(cacheAuthTicket.Assertion.PrincipalName, casAuthenticationTicket.Assertion.PrincipalName, true) != 0) + { + securityLogger.Info("Principal name {0} in assertion of ticket {1} does not match cached value.", + casAuthenticationTicket.NetId, casAuthenticationTicket.Assertion.PrincipalName); + return false; + } + + return true; + } + } + else + { + securityLogger.Info("Ticket {0} not found in cache. Never existed, expired, or removed via single sign out", + incomingServiceTicket); + return false; + } + return false; + } + + /// + /// Converts a CAS Service Ticket to its corresponding key in the + /// ticket manager store (cache provider). + /// + /// + /// The CAS Service ticket to convert. + /// + /// + /// The cache key associated with the corresponding + /// service ticket + /// + /// serviceTicket is null + /// serviceTicket is empty + private static string GetTicketKey(string serviceTicket) + { + CommonUtils.AssertNotNullOrEmpty(serviceTicket, "serviceTicket parameter cannot be null or empty."); + + return CACHE_TICKET_KEY_PREFIX + serviceTicket; + } + } +} +#endif \ No newline at end of file diff --git a/DotNetCasClient/Utils/AssertionUtil.cs b/DotNetCasClient/Utils/AssertionUtil.cs index 2680dfd..952349e 100644 --- a/DotNetCasClient/Utils/AssertionUtil.cs +++ b/DotNetCasClient/Utils/AssertionUtil.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Utils/CommonUtils.cs b/DotNetCasClient/Utils/CommonUtils.cs index 1c03a07..5d190c1 100644 --- a/DotNetCasClient/Utils/CommonUtils.cs +++ b/DotNetCasClient/Utils/CommonUtils.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -22,7 +22,7 @@ namespace DotNetCasClient.Utils { /// - /// Utility methods for the Jasig CAS Client. + /// Utility methods for the Apereo .NET CAS Client. /// /// Marvin S. Addison public static class CommonUtils diff --git a/DotNetCasClient/Utils/EnhancedUriBuilder.cs b/DotNetCasClient/Utils/EnhancedUriBuilder.cs index 7d4a50e..e8700cd 100644 --- a/DotNetCasClient/Utils/EnhancedUriBuilder.cs +++ b/DotNetCasClient/Utils/EnhancedUriBuilder.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Utils/HttpUtil.cs b/DotNetCasClient/Utils/HttpUtil.cs index a2c0e13..41fcd4f 100644 --- a/DotNetCasClient/Utils/HttpUtil.cs +++ b/DotNetCasClient/Utils/HttpUtil.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Utils/RequestEvaluator.cs b/DotNetCasClient/Utils/RequestEvaluator.cs index 844aff7..f73848a 100644 --- a/DotNetCasClient/Utils/RequestEvaluator.cs +++ b/DotNetCasClient/Utils/RequestEvaluator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Utils/UrlUtil.cs b/DotNetCasClient/Utils/UrlUtil.cs index efd46a5..090ff5d 100644 --- a/DotNetCasClient/Utils/UrlUtil.cs +++ b/DotNetCasClient/Utils/UrlUtil.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -78,7 +78,7 @@ public static string ConstructLoginRedirectUrl(bool gateway, bool renew) /// /// /// The server name is not parsed from the request for security reasons, which - /// is why the service and server name configuration parameters exist, per Jasig + /// is why the service and server name configuration parameters exist, per Apereo /// website. /// /// the service URL to use, not encoded diff --git a/DotNetCasClient/Validation/CasSaml11Response.cs b/DotNetCasClient/Validation/CasSaml11Response.cs index 353edff..5cff83e 100644 --- a/DotNetCasClient/Validation/CasSaml11Response.cs +++ b/DotNetCasClient/Validation/CasSaml11Response.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: @@ -53,7 +53,7 @@ class CasSaml11Response public bool HasCasSamlAssertion { get; private set; } /// - /// The JaSig CAS ICasPrincipal assertion built from the received CAS + /// The Apereo CAS ICasPrincipal assertion built from the received CAS /// SAML 1.1 response /// public ICasPrincipal CasPrincipal { get; private set; } diff --git a/DotNetCasClient/Validation/SamlUtils.cs b/DotNetCasClient/Validation/SamlUtils.cs index 82b5d5b..558621c 100644 --- a/DotNetCasClient/Validation/SamlUtils.cs +++ b/DotNetCasClient/Validation/SamlUtils.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/AuthenticationFailure.cs b/DotNetCasClient/Validation/Schema/Cas20/AuthenticationFailure.cs index 4b4f4bf..2853958 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/AuthenticationFailure.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/AuthenticationFailure.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/AuthenticationSuccess.cs b/DotNetCasClient/Validation/Schema/Cas20/AuthenticationSuccess.cs index 93bfcae..3d3b40a 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/AuthenticationSuccess.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/AuthenticationSuccess.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassFailure.cs b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassFailure.cs index 29a0864..ed0dca8 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassFailure.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassFailure.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassResponse.cs b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassResponse.cs index 76f377f..07a5aea 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassResponse.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassResponse.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassSuccess.cs b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassSuccess.cs index 98add6b..6330da0 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassSuccess.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ClearPass/ClearPassSuccess.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ProxyFailure.cs b/DotNetCasClient/Validation/Schema/Cas20/ProxyFailure.cs index 458f6bc..ef90a66 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ProxyFailure.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ProxyFailure.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ProxySuccess.cs b/DotNetCasClient/Validation/Schema/Cas20/ProxySuccess.cs index 0c99dbf..11777fe 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ProxySuccess.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ProxySuccess.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Cas20/ServiceResponse.cs b/DotNetCasClient/Validation/Schema/Cas20/ServiceResponse.cs index e35a426..a7a7869 100644 --- a/DotNetCasClient/Validation/Schema/Cas20/ServiceResponse.cs +++ b/DotNetCasClient/Validation/Schema/Cas20/ServiceResponse.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/ActionType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/ActionType.cs index bf86c7e..0624521 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/ActionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/ActionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AdviceType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AdviceType.cs index 4b12902..0483931 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AdviceType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AdviceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AssertionType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AssertionType.cs index cb411ef..fc2f6c2 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AssertionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AssertionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeDesignatorType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeDesignatorType.cs index 6608f27..dabb906 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeDesignatorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeDesignatorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeType.cs index 93fb2a7..9b8b7c8 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Attribute/AttributeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AuthorityBindingType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AuthorityBindingType.cs index 22363d6..f0d8f33 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/AuthorityBindingType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/AuthorityBindingType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/AudienceRestrictionConditionType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/AudienceRestrictionConditionType.cs index 49ad56f..601c83c 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/AudienceRestrictionConditionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/AudienceRestrictionConditionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionAbstractType.cs index a6e0b37..2c8ec1b 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionsType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionsType.cs index 487d1ef..aa9bebd 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionsType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/ConditionsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/DoNotCacheConditionType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/DoNotCacheConditionType.cs index 06a9352..4edcb90 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/DoNotCacheConditionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Condition/DoNotCacheConditionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/DecisionType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/DecisionType.cs index 8d37c71..4ee2d81 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/DecisionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/DecisionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/EvidenceType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/EvidenceType.cs index 234c329..fb6f43a 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/EvidenceType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/EvidenceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/NameIdentifierType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/NameIdentifierType.cs index 01209c5..a6707cc 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/NameIdentifierType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/NameIdentifierType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Statement/StatementAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Statement/StatementAbstractType.cs index ab27007..6fa2fb0 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/Statement/StatementAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/Statement/StatementAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectConfirmationType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectConfirmationType.cs index d6d7f67..34c1da6 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectConfirmationType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectConfirmationType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectLocalityType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectLocalityType.cs index 122b2dd..83f57f4 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectLocalityType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectLocalityType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AttributeStatementType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AttributeStatementType.cs index 23a405e..23e4ae5 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AttributeStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AttributeStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthenticationStatementType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthenticationStatementType.cs index 0a5c599..12824f8 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthenticationStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthenticationStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthorizationDecisionStatementType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthorizationDecisionStatementType.cs index 03af93a..f9838f6 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthorizationDecisionStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/AuthorizationDecisionStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/SubjectStatementAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/SubjectStatementAbstractType.cs index c5452a3..5342e3a 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/SubjectStatementAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectStatement/SubjectStatementAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectType.cs b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectType.cs index 1833c6d..86f9618 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Assertion/SubjectType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestAbstractType.cs index 07bbe44..1a4197c 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestType.cs index cf7a16a..bd9c8b2 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Request/RequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseAbstractType.cs index bb17c0e..572d4b2 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseType.cs index f55d2a4..8786f5a 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/Response/ResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusCodeType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusCodeType.cs index 9eeeecc..0558e88 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusCodeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusCodeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusDetailType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusDetailType.cs index 22304bc..b03697c 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusDetailType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusDetailType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusType.cs index 8d63f34..803484d 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/StatusType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AttributeQueryType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AttributeQueryType.cs index 975c712..6b005dd 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AttributeQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AttributeQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthenticationQueryType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthenticationQueryType.cs index 74c6758..211e376 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthenticationQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthenticationQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthorizationDecisionQueryType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthorizationDecisionQueryType.cs index 854d87b..6459af5 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthorizationDecisionQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/AuthorizationDecisionQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/QueryAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/QueryAbstractType.cs index a034f7e..bca989c 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/QueryAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/QueryAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/SubjectQueryAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/SubjectQueryAbstractType.cs index 8e9dd94..e6f4bba 100644 --- a/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/SubjectQueryAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml11/Protocol/SubjectQuery/SubjectQueryAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/ActionType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/ActionType.cs index e88c886..2297349 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/ActionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/ActionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AdviceType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AdviceType.cs index 69bb026..278eda7 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AdviceType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AdviceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AssertionType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AssertionType.cs index 6d4939e..c398757 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AssertionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AssertionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Attribute/AttributeType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Attribute/AttributeType.cs index 6b42ee9..08c5dcc 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Attribute/AttributeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Attribute/AttributeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AuthnContextType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AuthnContextType.cs index e495db8..4d31d8b 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/AuthnContextType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/AuthnContextType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/BaseIdAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/BaseIdAbstractType.cs index 15687f5..1771efb 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/BaseIdAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/BaseIdAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/AudienceRestrictionType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/AudienceRestrictionType.cs index af3aa8c..6844223 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/AudienceRestrictionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/AudienceRestrictionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionAbstractType.cs index 963c183..94ea840 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionsType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionsType.cs index 1186e54..b44b4eb 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionsType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ConditionsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/OneTimeUseType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/OneTimeUseType.cs index 57b3366..24c6a0e 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/OneTimeUseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/OneTimeUseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ProxyRestrictionType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ProxyRestrictionType.cs index a9db21d..72b4717 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ProxyRestrictionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Condition/ProxyRestrictionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/EncryptedElementType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/EncryptedElementType.cs index 241a8cf..03be803 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/EncryptedElementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/EncryptedElementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/NameIdType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/NameIdType.cs index 3748216..f67e1a2 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/NameIdType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/NameIdType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AttributeStatementType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AttributeStatementType.cs index ebcc7fe..d03eed9 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AttributeStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AttributeStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthnStatementType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthnStatementType.cs index 604ba5c..6d87255 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthnStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthnStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthzDecisionStatementType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthzDecisionStatementType.cs index 974b1f3..278171f 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthzDecisionStatementType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/AuthzDecisionStatementType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/StatementAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/StatementAbstractType.cs index 7b5ef72..72311f6 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/StatementAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/Statement/StatementAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationDataType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationDataType.cs index 1f1116e..de88250 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationDataType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationType.cs index 91c0dfc..a579a24 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectConfirmationType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectLocalityType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectLocalityType.cs index d3b8972..54b0a1c 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectLocalityType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectLocalityType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectType.cs b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectType.cs index 2920aec..16282b2 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Assertion/SubjectType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/AuthnContextComparisonType.cs b/DotNetCasClient/Validation/Schema/Saml20/AuthnContextComparisonType.cs index e7799ae..3a73357 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/AuthnContextComparisonType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/AuthnContextComparisonType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/DecisionType.cs b/DotNetCasClient/Validation/Schema/Saml20/DecisionType.cs index 0fd9fdb..2da71dd 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/DecisionType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/DecisionType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/EvidenceType.cs b/DotNetCasClient/Validation/Schema/Saml20/EvidenceType.cs index 3413de6..838cdfe 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/EvidenceType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/EvidenceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/KeyInfoConfirmationDataType.cs b/DotNetCasClient/Validation/Schema/Saml20/KeyInfoConfirmationDataType.cs index 57c19b1..bedad48 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/KeyInfoConfirmationDataType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/KeyInfoConfirmationDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AdditionalMetadataLocationType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AdditionalMetadataLocationType.cs index aff3017..ae08511 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AdditionalMetadataLocationType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AdditionalMetadataLocationType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AffiliationDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AffiliationDescriptorType.cs index a5dcf67..a46202c 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AffiliationDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AffiliationDescriptorType.cs @@ -1,8 +1,8 @@ /* -* Licensed to Jasig under one or more contributor license +* Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. -* Jasig licenses this file to you under the Apache License, +* Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeAuthorityDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeAuthorityDescriptorType.cs index 5c3a107..c2f2e9d 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeAuthorityDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeAuthorityDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeConsumingServiceType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeConsumingServiceType.cs index 0587cfd..5053253 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeConsumingServiceType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AttributeConsumingServiceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AuthnAuthorityDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AuthnAuthorityDescriptorType.cs index 87a84af..89a423d 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/AuthnAuthorityDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/AuthnAuthorityDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactType.cs index f72e7b6..87aec92 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactTypeType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactTypeType.cs index 86aa246..76d8671 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactTypeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ContactTypeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EndpointType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EndpointType.cs index 535d628..93a8d7d 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EndpointType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EndpointType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntitiesDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntitiesDescriptorType.cs index c2b412b..975f894 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntitiesDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntitiesDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntityDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntityDescriptorType.cs index 619c555..4cc46fe 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntityDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/EntityDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ExtensionsType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ExtensionsType.cs index efebef9..3fafa05 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/ExtensionsType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/ExtensionsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/IdpSsoDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/IdpSsoDescriptorType.cs index 3eab7d0..71cb5fa 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/IdpSsoDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/IdpSsoDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/IndexedEndpointType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/IndexedEndpointType.cs index 16704c4..cbee14e 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/IndexedEndpointType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/IndexedEndpointType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyDescriptorType.cs index def4cc0..5f11f72 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyTypes.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyTypes.cs index 7a41eec..dee78c6 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyTypes.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/KeyTypes.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/OrganizationType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/OrganizationType.cs index 25bd497..be10eeb 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/OrganizationType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/OrganizationType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/PdpDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/PdpDescriptorType.cs index f7e757f..7382fd0 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/PdpDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/PdpDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/RequestedAttributeType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/RequestedAttributeType.cs index dd619d6..623a012 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/RequestedAttributeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/RequestedAttributeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/RoleDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/RoleDescriptorType.cs index 6444286..1985a57 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/RoleDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/RoleDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/SpSsoDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/SpSsoDescriptorType.cs index 063b016..6b30dc8 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/SpSsoDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/SpSsoDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/SsoDescriptorType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/SsoDescriptorType.cs index a41d0bd..5d1aaff 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/SsoDescriptorType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/SsoDescriptorType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedNameType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedNameType.cs index b1f412c..06e7170 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedNameType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedNameType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedURIType.cs b/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedURIType.cs index 85e51eb..f6116cd 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedURIType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Metadata/localizedURIType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/NameIdPolicyType.cs b/DotNetCasClient/Validation/Schema/Saml20/NameIdPolicyType.cs index 121a4c2..dde17b9 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/NameIdPolicyType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/NameIdPolicyType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Extensions/ExtensionsType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Extensions/ExtensionsType.cs index 90c3e22..8a7666a 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Extensions/ExtensionsType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Extensions/ExtensionsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpEntryType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpEntryType.cs index dd95f1b..d50862b 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpEntryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpEntryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpListType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpListType.cs index bede2c4..bff4fc1 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpListType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/IdpListType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ArtifactResolveType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ArtifactResolveType.cs index d82379c..1672707 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ArtifactResolveType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ArtifactResolveType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AssertionIdRequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AssertionIdRequestType.cs index 4c7b9bf..aa8dc90 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AssertionIdRequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AssertionIdRequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AuthnRequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AuthnRequestType.cs index 742b6d8..79c3e78 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AuthnRequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/AuthnRequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/LogoutRequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/LogoutRequestType.cs index e32263f..c2a55a9 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/LogoutRequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/LogoutRequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ManageNameIdRequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ManageNameIdRequestType.cs index 691bf23..87dbf74 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ManageNameIdRequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/ManageNameIdRequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/NameIdMappingRequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/NameIdMappingRequestType.cs index 1b4560f..fc2e41e 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/NameIdMappingRequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/NameIdMappingRequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestAbstractType.cs index b13008a..dd02d5c 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestType.cs index 9e25b71..73c74de 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Request/RequestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/RequestedAuthnContextType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/RequestedAuthnContextType.cs index cb41712..0d174d5 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/RequestedAuthnContextType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/RequestedAuthnContextType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Response/ResponseType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Response/ResponseType.cs index 4a4412d..1ddd373 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/Response/ResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/Response/ResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/ScopingType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/ScopingType.cs index 0b63e2a..778d0a8 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/ScopingType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/ScopingType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusCodeType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusCodeType.cs index eb9a0c4..a93b7c9 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusCodeType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusCodeType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusDetailType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusDetailType.cs index 41013eb..0c4a918 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusDetailType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusDetailType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/ArtifactResponseType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/ArtifactResponseType.cs index 4ce581d..e2132d5 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/ArtifactResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/ArtifactResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/NameIdMappingResponseType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/NameIdMappingResponseType.cs index 9761dcd..75c9854 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/NameIdMappingResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/NameIdMappingResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/StatusResponseType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/StatusResponseType.cs index 3419c19..62af3cc 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/StatusResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusResponse/StatusResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusType.cs index 3f703c4..60a7965 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/StatusType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AttributeQueryType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AttributeQueryType.cs index 8eaa9e0..18ec301 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AttributeQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AttributeQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthnQueryType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthnQueryType.cs index 3d7f6d4..53bd09d 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthnQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthnQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthzDecisionQueryType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthzDecisionQueryType.cs index d671deb..9154b93 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthzDecisionQueryType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/AuthzDecisionQueryType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/SubjectQueryAbstractType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/SubjectQueryAbstractType.cs index 43886a8..fb66a49 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/SubjectQueryAbstractType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/SubjectQuery/SubjectQueryAbstractType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/Protocol/TerminateType.cs b/DotNetCasClient/Validation/Schema/Saml20/Protocol/TerminateType.cs index 4abd7c7..d9680b6 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/Protocol/TerminateType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/Protocol/TerminateType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/RelayStateType.cs b/DotNetCasClient/Validation/Schema/Saml20/RelayStateType.cs index 8d67aeb..c0a3a44 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/RelayStateType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/RelayStateType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Saml20/ResponseType.cs b/DotNetCasClient/Validation/Schema/Saml20/ResponseType.cs index bb39236..bc494b2 100644 --- a/DotNetCasClient/Validation/Schema/Saml20/ResponseType.cs +++ b/DotNetCasClient/Validation/Schema/Saml20/ResponseType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/SoapEnvelope/Body.cs b/DotNetCasClient/Validation/Schema/SoapEnvelope/Body.cs index e8bbc67..a11ae83 100644 --- a/DotNetCasClient/Validation/Schema/SoapEnvelope/Body.cs +++ b/DotNetCasClient/Validation/Schema/SoapEnvelope/Body.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/SoapEnvelope/Detail.cs b/DotNetCasClient/Validation/Schema/SoapEnvelope/Detail.cs index 46cf264..e323303 100644 --- a/DotNetCasClient/Validation/Schema/SoapEnvelope/Detail.cs +++ b/DotNetCasClient/Validation/Schema/SoapEnvelope/Detail.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/SoapEnvelope/Envelope.cs b/DotNetCasClient/Validation/Schema/SoapEnvelope/Envelope.cs index 5fa62c2..de6a6e1 100644 --- a/DotNetCasClient/Validation/Schema/SoapEnvelope/Envelope.cs +++ b/DotNetCasClient/Validation/Schema/SoapEnvelope/Envelope.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/SoapEnvelope/Fault.cs b/DotNetCasClient/Validation/Schema/SoapEnvelope/Fault.cs index 10db887..e49554e 100644 --- a/DotNetCasClient/Validation/Schema/SoapEnvelope/Fault.cs +++ b/DotNetCasClient/Validation/Schema/SoapEnvelope/Fault.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/SoapEnvelope/Header.cs b/DotNetCasClient/Validation/Schema/SoapEnvelope/Header.cs index 84c172b..84f6e86 100644 --- a/DotNetCasClient/Validation/Schema/SoapEnvelope/Header.cs +++ b/DotNetCasClient/Validation/Schema/SoapEnvelope/Header.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/AgreementMethodType.cs b/DotNetCasClient/Validation/Schema/Xenc/AgreementMethodType.cs index 760c748..455bf49 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/AgreementMethodType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/AgreementMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/CipherDataType.cs b/DotNetCasClient/Validation/Schema/Xenc/CipherDataType.cs index af553d6..a841658 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/CipherDataType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/CipherDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/CipherReferenceType.cs b/DotNetCasClient/Validation/Schema/Xenc/CipherReferenceType.cs index e769a0e..8c20e16 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/CipherReferenceType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/CipherReferenceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptedDataType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptedDataType.cs index 2f1210d..35bf131 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptedDataType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptedDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptedKeyType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptedKeyType.cs index 3b1d14b..5d2c90b 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptedKeyType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptedKeyType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptedType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptedType.cs index 85500a0..69c3aab 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptedType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptedType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptionMethodType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptionMethodType.cs index bd830df..dd6ca3f 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptionMethodType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptionMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertiesType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertiesType.cs index 0472ea3..6e52648 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertiesType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertiesType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertyType.cs b/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertyType.cs index 775c42b..01e10fe 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertyType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/EncryptionPropertyType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/ReferenceList.cs b/DotNetCasClient/Validation/Schema/Xenc/ReferenceList.cs index 0218278..6ce4b92 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/ReferenceList.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/ReferenceList.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/ReferenceType.cs b/DotNetCasClient/Validation/Schema/Xenc/ReferenceType.cs index a78dba6..85c9f87 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/ReferenceType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/ReferenceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/Xenc/TransformsType.cs b/DotNetCasClient/Validation/Schema/Xenc/TransformsType.cs index eccd87b..85a3385 100644 --- a/DotNetCasClient/Validation/Schema/Xenc/TransformsType.cs +++ b/DotNetCasClient/Validation/Schema/Xenc/TransformsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/CanonicalizationMethodType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/CanonicalizationMethodType.cs index 49f395d..328de38 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/CanonicalizationMethodType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/CanonicalizationMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/DigestMethodType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/DigestMethodType.cs index dbed0f9..63d5977 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/DigestMethodType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/DigestMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/DsaKeyValueType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/DsaKeyValueType.cs index 1d08cd0..c140a2f 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/DsaKeyValueType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/DsaKeyValueType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/KeyInfoType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/KeyInfoType.cs index 7f78ea3..8271524 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/KeyInfoType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/KeyInfoType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/KeyValueType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/KeyValueType.cs index 8ba7273..f00aab0 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/KeyValueType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/KeyValueType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/ManifestType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/ManifestType.cs index baa7ddc..509807c 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/ManifestType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/ManifestType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/ObjectType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/ObjectType.cs index cbaf22c..71f6e41 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/ObjectType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/ObjectType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/PgpDataType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/PgpDataType.cs index 1200d67..6d63e9f 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/PgpDataType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/PgpDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/ReferenceType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/ReferenceType.cs index f6a93ba..15fcf6f 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/ReferenceType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/ReferenceType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/RetrievalMethodType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/RetrievalMethodType.cs index 7073918..cade7e5 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/RetrievalMethodType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/RetrievalMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/RsaKeyValueType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/RsaKeyValueType.cs index f04d15d..d886d6a 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/RsaKeyValueType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/RsaKeyValueType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureMethodType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureMethodType.cs index bfcacfb..060c657 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureMethodType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureMethodType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertiesType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertiesType.cs index e37b178..bb365c8 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertiesType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertiesType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertyType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertyType.cs index ed7e51f..e702a20 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertyType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignaturePropertyType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureType.cs index 8486c38..a2e40b5 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureValueType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureValueType.cs index d2b8bc0..306216e 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignatureValueType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignatureValueType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SignedInfoType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SignedInfoType.cs index b766160..4d894bb 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SignedInfoType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SignedInfoType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/SpkiDataType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/SpkiDataType.cs index 92f70b3..d428eb6 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/SpkiDataType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/SpkiDataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/TransformType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/TransformType.cs index 5bfd582..22d95a3 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/TransformType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/TransformType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/TransformsType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/TransformsType.cs index 236a878..b59b17f 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/TransformsType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/TransformsType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/X509DataType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/X509DataType.cs index f623424..9914e0e 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/X509DataType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/X509DataType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/Schema/XmlDsig/X509IssuerSerialType.cs b/DotNetCasClient/Validation/Schema/XmlDsig/X509IssuerSerialType.cs index d289ab8..158e204 100644 --- a/DotNetCasClient/Validation/Schema/XmlDsig/X509IssuerSerialType.cs +++ b/DotNetCasClient/Validation/Schema/XmlDsig/X509IssuerSerialType.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidationException.cs b/DotNetCasClient/Validation/TicketValidationException.cs index 571b066..35c4e06 100644 --- a/DotNetCasClient/Validation/TicketValidationException.cs +++ b/DotNetCasClient/Validation/TicketValidationException.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/AbstractCasProtocolTicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/AbstractCasProtocolTicketValidator.cs index 3bbe656..91e55a0 100644 --- a/DotNetCasClient/Validation/TicketValidator/AbstractCasProtocolTicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/AbstractCasProtocolTicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/AbstractUrlTicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/AbstractUrlTicketValidator.cs index 9298c8c..4814591 100644 --- a/DotNetCasClient/Validation/TicketValidator/AbstractUrlTicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/AbstractUrlTicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/Cas10TicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/Cas10TicketValidator.cs index 2ff89da..26a5fe6 100644 --- a/DotNetCasClient/Validation/TicketValidator/Cas10TicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/Cas10TicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/Cas20ServiceTicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/Cas20ServiceTicketValidator.cs index bbec989..df2c068 100644 --- a/DotNetCasClient/Validation/TicketValidator/Cas20ServiceTicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/Cas20ServiceTicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/ITicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/ITicketValidator.cs index 18811d5..0871bd5 100644 --- a/DotNetCasClient/Validation/TicketValidator/ITicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/ITicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/Validation/TicketValidator/Saml11TicketValidator.cs b/DotNetCasClient/Validation/TicketValidator/Saml11TicketValidator.cs index a398b37..b21afb8 100644 --- a/DotNetCasClient/Validation/TicketValidator/Saml11TicketValidator.cs +++ b/DotNetCasClient/Validation/TicketValidator/Saml11TicketValidator.cs @@ -1,8 +1,8 @@ /* - * Licensed to Jasig under one or more contributor license + * Licensed to Apereo under one or more contributor license * agreements. See the NOTICE file distributed with this work * for additional information regarding copyright ownership. - * Jasig licenses this file to you under the Apache License, + * Apereo 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: diff --git a/DotNetCasClient/web.config.install.xdt b/DotNetCasClient/web.config.install.xdt new file mode 100644 index 0000000..bd5c938 --- /dev/null +++ b/DotNetCasClient/web.config.install.xdt @@ -0,0 +1,77 @@ + + + + + + + + + + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/DotNetCasClient/web.config.transform b/DotNetCasClient/web.config.transform new file mode 100644 index 0000000..df3b738 --- /dev/null +++ b/DotNetCasClient/web.config.transform @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/DotNetCasClient/web.config.uninstall.xdt b/DotNetCasClient/web.config.uninstall.xdt new file mode 100644 index 0000000..13ab7c5 --- /dev/null +++ b/DotNetCasClient/web.config.uninstall.xdt @@ -0,0 +1,34 @@ + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index fcfb30b..865dd57 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,70 @@ -# Intro -The Apereo .NET CAS client provides CAS integration for the Microsoft Windows platform via the .NET framework. - -## Download +# Apereo .NET CAS Client # -### Releases -https://github.com/Jasig/dotnet-cas-client/releases +[![Build status](https://ci.appveyor.com/api/projects/status/py9b6esq9smjr6u5/branch/master?svg=true)](https://ci.appveyor.com/project/mmoayyed/dotnet-cas-client/branch/master) +[![Stable nuget](https://img.shields.io/nuget/v/DotNetCasClient.svg?label=stable%20nuget)](https://www.nuget.org/packages/DotNetCasClient/) +[![Pre-release nuget](https://img.shields.io/myget/dotnetcasclient-prerelease/v/dotnetcasclient.svg?label=pre-release%20nuget)](https://www.myget.org/feed/dotnetcasclient-prerelease/package/nuget/DotNetCasClient) +[![Unstable nuget](https://img.shields.io/myget/dotnetcasclient-ci/v/dotnetcasclient.svg?label=unstable%20nuget)](https://www.myget.org/feed/dotnetcasclient-ci/package/nuget/DotNetCasClient) +[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) -### NuGet Installation [![NuGet Status](http://nugetstatus.com/DotNetCasClient.png)](http://nugetstatus.com/packages/DotNetCasClient) -NuGet packages for the .NET client are available at http://www.nuget.org/List/Packages/DotNetCasClient. +[![Gitter](https://img.shields.io/gitter/room/apereo/cas.svg)](https://gitter.im/apereo/dotnet-cas-client) +[![Stack Overflow](https://img.shields.io/badge/stackoverflow-cas%20%2B%20.net-orange.svg)](https://stackoverflow.com/questions/tagged/cas%2b.net) -## Building [![Build status](https://ci.appveyor.com/api/projects/status/py9b6esq9smjr6u5?svg=true)](https://ci.appveyor.com/project/mmoayyed/dotnet-cas-client) +## Introduction ## -The source is intended to be built with Visual Studio. Solution files for VS 2008 and VS 2010 are included with the project. -The project can also be built on the command line using MSBuild, although that is advanced usage and not documented. - -## Running +The Apereo .NET CAS client provides CAS integration for the Microsoft Windows platform via the .NET framework. -The build produces a single managed assembly, DotNetClient.dll, that may be included as a dependency of another project. In addition to adding a dependency, the CAS integration must be configured via the web.config file. See the .NET CAS Client documentation for detailed configuration instructions. +## Features ## -## Features - Supports CAS Protocol 1.0 and 2.0 and SAML 1.1 - Supports CAS single sign-out - Rich support for Microsoft ASP.NET platform integration through Forms Authentication framework -## Integration Instructions +## Table of Contents ## + +* [Downloads](#downloads) +* [Release Notes](#release-notes) +* [License](#license) +* [Documentation](#documentation) + * [Building](#building) + * [Running](#running) + * [Integration Instructions](#integration-instructions) + +## Downloads ## + +* The latest (stable) release is [available on NuGet](https://www.nuget.org/packages/DotNetCasClient/) or can be [downloaded from GitHub](https://github.com/apereo/dotnet-cas-client/releases). +* Unstable pre-release versions are [available on MyGet](https://www.myget.org/feed/dotnetcasclient-prerelease/package/nuget/DotNetCasClient) + +## Release Notes ## + +See [ReleaseNotes.md](https://github.com/apereo/dotnet-cas-client/blob/master/ReleaseNotes.md) for details. + +## License ## + +The Apereo .NET CAS Client is open source software, licensed under the Apache License 2.0. + +See [LICENSE.txt](https://github.com/apereo/dotnet-cas-client/blob/master/LICENSE.txt) for details. + +## Documentation ## + +- [Apereo .NET CAS Client](https://wiki.jasig.org/display/casc/.net+cas+client) +- [Apereo Central Authentication Service (CAS)](https://apereo.github.io/cas/) + +### Building + +The source is intended to be built with [Visual Studio 2017](https://www.visualstudio.com/downloads/) (any 2017 edition including the free Community edition will work.) + +The project can also be built via the command line using a [Cake](https://www.cakebuild.net/) build script. If you are building from the command line, PowerShell or on a build server you must have the [Build Tools for Visual Studio 2017](https://www.visualstudio.com/downloads/) installed on the machine the build is occurring on. + +To build the project from the command line, all you need to do is drop to PowerShell (or open a PowerShell window directly) and then run the **build.ps1** file to build the project and associated NuGet package. The NuGet package will be copied to the **artifacts** folder in the root of the repo when the build process has completed. + +### Running + +The build (via Visual Studio 2017) produces a single managed assembly, DotNetCasClient.dll, that may be included as a dependency of another project. However, it is recommended you install the NuGet package instead of referencing the DotNetCasClient.dll directly in a project because the NuGet package will handle adding/removing/updating other dependencies and references for you. + +In addition to adding a dependency, the CAS integration must be configured via the web.config file. See the [Integration Instructions](#integration-instructions) below for details. + +### Integration Instructions + The .NET CAS client integrates with ASP.NET applications by customizing the application web.config file. The client is implemented as an ASP.NET IHttpModule, CasAuthenticationModule, that provides hooks into the ASP.NET request/response pipeline through lifecycle events. This provides a familiar configuration path for client integration, including the following: - Custom `casClientConfig` section containing CAS-specific configuration parameters that apply to `CasAuthenticationModule` @@ -84,11 +125,11 @@ The following attributes are supported in the casClientConfig configuration sect | `gatewayStatusCookieName ` | The name of the cookie used to store the Gateway status (NotAttempted, Success, Failed). This cookie is used to prevent the client from attempting to gateway authenticate every request. Default value is `cas_gateway_status`. | No | `cookiesRequiredUrl ` | The URL to redirect to when the client is not accepting session cookies. This condition is detected only when gateway is enabled. This will lock the users onto a specific page. Otherwise, every request will cause a silent round-trip to the CAS server, adding a parameter to the URL. | No -### Register CasAuthenticationModule +#### Register CasAuthenticationModule Register `CasAuthenticationModule` with the ASP.NET pipeline by adding it to the `` and `` sections as demonstrated in the following configuration blocks. -#### Register with httpModules Section +##### Register with httpModules Section ```xml @@ -101,7 +142,7 @@ Register `CasAuthenticationModule` with the ASP.NET pipeline by adding it to the ``` -#### Register with modules Section +##### Register with modules Section ```xml @@ -124,7 +165,7 @@ Register `CasAuthenticationModule` with the ASP.NET pipeline by adding it to the ``` -### Configure ASP.NET Forms Authentication +#### Configure ASP.NET Forms Authentication Configure the ASP.NET Forms authentication section, ``, so that it points to the login URL of the CAS server defined in the casServerLoginUrl attribute of the casClientConfig section. It is vitally important that the CAS login URL is the same in both locations. @@ -143,13 +184,16 @@ Configure the ASP.NET Forms authentication section, ``, so that it points ``` -### Configure Authorization +#### Configure Authorization + Configure authorization roles and resources using the familiar ASP.NET directives. We recommend the user of a role provider that queries a role store given the principal name returned from the CAS server. There is not support at present for extracting authorization data from the attributes released from CAS via the SAML protocol. -### Configure Diagnostic Tracing (optional) +#### Configure Diagnostic Tracing (optional) + `CasAuthenticationModule` uses the .NET Framework `System.Diagnostics` tracing facility for internal logging. Enabling the internal trace switches should be the first step taken to troubleshoot integration problems. -`System.Diagnostics` tracing requires that the source be compiled with the /TRACE compiler option in order to produce output to trace listeners. The binary distributions of CAS provided here are compiled in DEBUG mode with the /TRACE option enabled. +`System.Diagnostics` tracing requires that the source be compiled with the /TRACE compiler option in order to produce output to trace listeners. The binary distributions of the .NET CAS Client provided here on GitHub and as NuGet packages are compiled in RELEASE mode with the /TRACE option enabled. (Note: binary distributions prior to version 1.1.0 are compiled in DEBUG mode with the /TRACE option enabled.) + The following web.config configuration section provides a sample trace configuration that should be used to troubleshoot integration problems. ```xml diff --git a/ReleaseNotes.md b/ReleaseNotes.md new file mode 100644 index 0000000..a7bda07 --- /dev/null +++ b/ReleaseNotes.md @@ -0,0 +1,21 @@ +### New in 1.1.0 (Released 2017/08/10) + +* Updated README file. +* GitHub Issue #44 +* GitHub Issue #47 +* GitHub Issue #54 +* GitHub Issue #56 +* GitHub Issue #58 +* GitHub Issue #60 + +### New in 1.0.2 (Released 2015/05/27) + +* See GitHub repository history. + +### New in 1.0.1 (Released 2011/04/06) + +* See GitHub repository history. + +### New in 1.0.0 (Released 2011/02/28) + +* See GitHub repository history. \ No newline at end of file diff --git a/build.cake b/build.cake new file mode 100644 index 0000000..7c5c08f --- /dev/null +++ b/build.cake @@ -0,0 +1,192 @@ +#tool nuget:?package=NUnit.ConsoleRunner&version=3.4.0 +#tool nuget:?package=GitVersion.CommandLine +#addin nuget:?package=Cake.Incubator + +////////////////////////////////////////////////////////////////////// +// ARGUMENTS +////////////////////////////////////////////////////////////////////// + +var target = Argument("target", "Default"); +var configuration = Argument("configuration", "Release"); + +////////////////////////////////////////////////////////////////////// +// PREPARATION +////////////////////////////////////////////////////////////////////// + +// Define directories. +var buildDir = Directory("./DotNetCasClient/bin/" + configuration); +var artifactDir = Directory("./artifacts"); + +// Define project metadata properties. +var projectOwners = "Apereo Foundation"; +var projectName = "Apereo .NET CAS Client"; +var projectDescription = ".NET client for the Apereo Central Authentication Service (CAS)"; +var copyright = string.Format("Copyright (c) 2007-{0} Apereo. All rights reserved.", DateTime.Now.Year); + +// Get/set version information. +var versionInfo = GitVersion(); +var buildNumber = AppVeyor.Environment.Build.Number.ToString(); +var buildNumberPadded = AppVeyor.Environment.Build.Number.ToString("00000"); +var isAppveyorBuild = BuildSystem.IsRunningOnAppVeyor; + +var assemblyVersion = string.Concat(new string[]{ + versionInfo.Major.ToString(), + ".", + versionInfo.Minor.ToString(), + ".0.0" +}); +var assemblyFileVersion = string.Concat(new string[]{ + versionInfo.MajorMinorPatch, + ".", + buildNumber +}); +var assemblyInformationalVersion = versionInfo.InformationalVersion; + +// Set NuGet version. +var nugetPackageVersion = ""; + +if (isAppveyorBuild) +{ + // AppVeyor build. + + var tag = AppVeyor.Environment.Repository.Tag; + + if (tag.IsTag) + { + // Tag build. Used for stable and pre-release NuGet packages. + nugetPackageVersion = versionInfo.NuGetVersion; + } + else + { + // Regular commit build. + nugetPackageVersion = versionInfo.MajorMinorPatch + "-ci-" + buildNumberPadded; + + if (AppVeyor.Environment.PullRequest.IsPullRequest) + { + nugetPackageVersion += "-pr-" + AppVeyor.Environment.PullRequest.Number; + } + } + + AppVeyor.UpdateBuildVersion(nugetPackageVersion); +} +else +{ + // Local developer machine build. + nugetPackageVersion = versionInfo.MajorMinorPatch + "-local-" + versionInfo.CommitsSinceVersionSource.PadLeft(5, '0'); +} + +////////////////////////////////////////////////////////////////////// +// TASKS +////////////////////////////////////////////////////////////////////// + +Task("Clean") + .Does(() => + { + CleanDirectory(buildDir); + CleanDirectory(artifactDir); + }); + +Task("Version") + .IsDependentOn("Clean") + .Does(() => + { + Information("Is AppVeyor Build: {0}", isAppveyorBuild); + if (isAppveyorBuild) + { + var tag = AppVeyor.Environment.Repository.Tag; + Information("Is AppVeyor Tag Build: {0}", tag.IsTag); + if (tag.IsTag) + { + Information("Tag Name: {0}", tag.Name); + } + } + + Information("Assembly Version: {0}", assemblyVersion); + Information("Assembly File Version: {0}", assemblyFileVersion); + Information("Assembly Informational Version: {0}", assemblyInformationalVersion); + + Information("Build Number: {0}", buildNumber); + + Information("NuGet Version: {0}", nugetPackageVersion); + Information("VCS Revision: {0}", versionInfo.Sha); + Information("VCS Branch Name: {0}", versionInfo.BranchName); + + Information("GitVersion Info:\r\n{0}", versionInfo.Dump()); + + var file = "./DotNetCasClient/Properties/AutoGeneratedAssemblyInfo.cs"; + CreateAssemblyInfo(file, new AssemblyInfoSettings{ + Product = projectName, + Title = projectName, + Description = projectDescription, + Company = projectOwners, + Version = assemblyVersion, + FileVersion = assemblyFileVersion, + InformationalVersion = assemblyInformationalVersion, + Copyright = copyright + }); + }); + +Task("Restore-NuGet-Packages") + .IsDependentOn("Version") + .Does(() => + { + NuGetRestore("./DotNetCasClient.sln"); + }); + +Task("Build") + .IsDependentOn("Restore-NuGet-Packages") + .Does(() => + { + if(IsRunningOnWindows()) + { + // Use MSBuild + MSBuild("./DotNetCasClient.sln", settings => + settings.SetConfiguration(configuration)); + } + else + { + // Use XBuild + XBuild("./DotNetCasClient.sln", settings => + settings.SetConfiguration(configuration)); + } + }); + +Task("Pack") + .IsDependentOn("Build") + .Does(() => + { + // Parse release notes. + var latestReleaseNote = ParseReleaseNotes("./ReleaseNotes.md"); + var releaseNotes = new StringBuilder(); + releaseNotes.AppendFormat("Version: {0}", latestReleaseNote.Version); + foreach(var note in latestReleaseNote.Notes) + { + releaseNotes.AppendFormat("\t{0}", note); + } + + // Configure NuGet Pack settings. + var nuGetPackSettings = new NuGetPackSettings { + Version = nugetPackageVersion, + Title = projectName, + Owners = new []{projectOwners}, + Copyright = copyright, + Description = projectDescription, + ReleaseNotes = new []{releaseNotes.ToString()}, + OutputDirectory = artifactDir + }; + + NuGetPack("./DotNetCasClient/DotNetCasClient.nuspec", nuGetPackSettings); + }); + +////////////////////////////////////////////////////////////////////// +// TASK TARGETS +////////////////////////////////////////////////////////////////////// + +Task("Default") + .IsDependentOn("Pack"); + +////////////////////////////////////////////////////////////////////// +// EXECUTION +////////////////////////////////////////////////////////////////////// + +RunTarget(target); \ No newline at end of file diff --git a/build.ps1 b/build.ps1 new file mode 100644 index 0000000..3a8ef5c --- /dev/null +++ b/build.ps1 @@ -0,0 +1,189 @@ +########################################################################## +# This is the Cake bootstrapper script for PowerShell. +# This file was downloaded from https://github.com/cake-build/resources +# Feel free to change this file to fit your needs. +########################################################################## + +<# + +.SYNOPSIS +This is a Powershell script to bootstrap a Cake build. + +.DESCRIPTION +This Powershell script will download NuGet if missing, restore NuGet tools (including Cake) +and execute your Cake build script with the parameters you provide. + +.PARAMETER Script +The build script to execute. +.PARAMETER Target +The build script target to run. +.PARAMETER Configuration +The build configuration to use. +.PARAMETER Verbosity +Specifies the amount of information to be displayed. +.PARAMETER Experimental +Tells Cake to use the latest Roslyn release. +.PARAMETER WhatIf +Performs a dry run of the build script. +No tasks will be executed. +.PARAMETER Mono +Tells Cake to use the Mono scripting engine. +.PARAMETER SkipToolPackageRestore +Skips restoring of packages. +.PARAMETER ScriptArgs +Remaining arguments are added here. + +.LINK +http://cakebuild.net + +#> + +[CmdletBinding()] +Param( + [string]$Script = "build.cake", + [string]$Target = "Default", + [ValidateSet("Release", "Debug")] + [string]$Configuration = "Release", + [ValidateSet("Quiet", "Minimal", "Normal", "Verbose", "Diagnostic")] + [string]$Verbosity = "Verbose", + [switch]$Experimental, + [Alias("DryRun","Noop")] + [switch]$WhatIf, + [switch]$Mono, + [switch]$SkipToolPackageRestore, + [Parameter(Position=0,Mandatory=$false,ValueFromRemainingArguments=$true)] + [string[]]$ScriptArgs +) + +[Reflection.Assembly]::LoadWithPartialName("System.Security") | Out-Null +function MD5HashFile([string] $filePath) +{ + if ([string]::IsNullOrEmpty($filePath) -or !(Test-Path $filePath -PathType Leaf)) + { + return $null + } + + [System.IO.Stream] $file = $null; + [System.Security.Cryptography.MD5] $md5 = $null; + try + { + $md5 = [System.Security.Cryptography.MD5]::Create() + $file = [System.IO.File]::OpenRead($filePath) + return [System.BitConverter]::ToString($md5.ComputeHash($file)) + } + finally + { + if ($file -ne $null) + { + $file.Dispose() + } + } +} + +Write-Host "Preparing to run build script..." + +if(!$PSScriptRoot){ + $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent +} + +$TOOLS_DIR = Join-Path $PSScriptRoot "tools" +$NUGET_EXE = Join-Path $TOOLS_DIR "nuget.exe" +$CAKE_EXE = Join-Path $TOOLS_DIR "Cake/Cake.exe" +$NUGET_URL = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" +$PACKAGES_CONFIG = Join-Path $TOOLS_DIR "packages.config" +$PACKAGES_CONFIG_MD5 = Join-Path $TOOLS_DIR "packages.config.md5sum" + +# Should we use mono? +$UseMono = ""; +if($Mono.IsPresent) { + Write-Verbose -Message "Using the Mono based scripting engine." + $UseMono = "-mono" +} + +# Should we use the new Roslyn? +$UseExperimental = ""; +if($Experimental.IsPresent -and !($Mono.IsPresent)) { + Write-Verbose -Message "Using experimental version of Roslyn." + $UseExperimental = "-experimental" +} + +# Is this a dry run? +$UseDryRun = ""; +if($WhatIf.IsPresent) { + $UseDryRun = "-dryrun" +} + +# Make sure tools folder exists +if ((Test-Path $PSScriptRoot) -and !(Test-Path $TOOLS_DIR)) { + Write-Verbose -Message "Creating tools directory..." + New-Item -Path $TOOLS_DIR -Type directory | out-null +} + +# Make sure that packages.config exist. +if (!(Test-Path $PACKAGES_CONFIG)) { + Write-Verbose -Message "Downloading packages.config..." + try { (New-Object System.Net.WebClient).DownloadFile("http://cakebuild.net/download/bootstrapper/packages", $PACKAGES_CONFIG) } catch { + Throw "Could not download packages.config." + } +} + +# Try find NuGet.exe in path if not exists +if (!(Test-Path $NUGET_EXE)) { + Write-Verbose -Message "Trying to find nuget.exe in PATH..." + $existingPaths = $Env:Path -Split ';' | Where-Object { (![string]::IsNullOrEmpty($_)) -and (Test-Path $_ -PathType Container) } + $NUGET_EXE_IN_PATH = Get-ChildItem -Path $existingPaths -Filter "nuget.exe" | Select -First 1 + if ($NUGET_EXE_IN_PATH -ne $null -and (Test-Path $NUGET_EXE_IN_PATH.FullName)) { + Write-Verbose -Message "Found in PATH at $($NUGET_EXE_IN_PATH.FullName)." + $NUGET_EXE = $NUGET_EXE_IN_PATH.FullName + } +} + +# Try download NuGet.exe if not exists +if (!(Test-Path $NUGET_EXE)) { + Write-Verbose -Message "Downloading NuGet.exe..." + try { + (New-Object System.Net.WebClient).DownloadFile($NUGET_URL, $NUGET_EXE) + } catch { + Throw "Could not download NuGet.exe." + } +} + +# Save nuget.exe path to environment to be available to child processed +$ENV:NUGET_EXE = $NUGET_EXE + +# Restore tools from NuGet? +if(-Not $SkipToolPackageRestore.IsPresent) { + Push-Location + Set-Location $TOOLS_DIR + + # Check for changes in packages.config and remove installed tools if true. + [string] $md5Hash = MD5HashFile($PACKAGES_CONFIG) + if((!(Test-Path $PACKAGES_CONFIG_MD5)) -Or + ($md5Hash -ne (Get-Content $PACKAGES_CONFIG_MD5 ))) { + Write-Verbose -Message "Missing or changed package.config hash..." + Remove-Item * -Recurse -Exclude packages.config,nuget.exe + } + + Write-Verbose -Message "Restoring tools from NuGet..." + $NuGetOutput = Invoke-Expression "&`"$NUGET_EXE`" install -ExcludeVersion -OutputDirectory `"$TOOLS_DIR`"" + + if ($LASTEXITCODE -ne 0) { + Throw "An error occured while restoring NuGet tools." + } + else + { + $md5Hash | Out-File $PACKAGES_CONFIG_MD5 -Encoding "ASCII" + } + Write-Verbose -Message ($NuGetOutput | out-string) + Pop-Location +} + +# Make sure that Cake has been installed. +if (!(Test-Path $CAKE_EXE)) { + Throw "Could not find Cake.exe at $CAKE_EXE" +} + +# Start Cake +Write-Host "Running build script..." +Invoke-Expression "& `"$CAKE_EXE`" `"$Script`" -target=`"$Target`" -configuration=`"$Configuration`" -verbosity=`"$Verbosity`" $UseMono $UseDryRun $UseExperimental $ScriptArgs" +exit $LASTEXITCODE \ No newline at end of file diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..6e8f207 --- /dev/null +++ b/build.sh @@ -0,0 +1,101 @@ +#!/usr/bin/env bash + +########################################################################## +# This is the Cake bootstrapper script for Linux and OS X. +# This file was downloaded from https://github.com/cake-build/resources +# Feel free to change this file to fit your needs. +########################################################################## + +# Define directories. +SCRIPT_DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) +TOOLS_DIR=$SCRIPT_DIR/tools +NUGET_EXE=$TOOLS_DIR/nuget.exe +CAKE_EXE=$TOOLS_DIR/Cake/Cake.exe +PACKAGES_CONFIG=$TOOLS_DIR/packages.config +PACKAGES_CONFIG_MD5=$TOOLS_DIR/packages.config.md5sum + +# Define md5sum or md5 depending on Linux/OSX +MD5_EXE= +if [[ "$(uname -s)" == "Darwin" ]]; then + MD5_EXE="md5 -r" +else + MD5_EXE="md5sum" +fi + +# Define default arguments. +SCRIPT="build.cake" +TARGET="Default" +CONFIGURATION="Release" +VERBOSITY="verbose" +DRYRUN= +SHOW_VERSION=false +SCRIPT_ARGUMENTS=() + +# Parse arguments. +for i in "$@"; do + case $1 in + -s|--script) SCRIPT="$2"; shift ;; + -t|--target) TARGET="$2"; shift ;; + -c|--configuration) CONFIGURATION="$2"; shift ;; + -v|--verbosity) VERBOSITY="$2"; shift ;; + -d|--dryrun) DRYRUN="-dryrun" ;; + --version) SHOW_VERSION=true ;; + --) shift; SCRIPT_ARGUMENTS+=("$@"); break ;; + *) SCRIPT_ARGUMENTS+=("$1") ;; + esac + shift +done + +# Make sure the tools folder exist. +if [ ! -d "$TOOLS_DIR" ]; then + mkdir "$TOOLS_DIR" +fi + +# Make sure that packages.config exist. +if [ ! -f "$TOOLS_DIR/packages.config" ]; then + echo "Downloading packages.config..." + curl -Lsfo "$TOOLS_DIR/packages.config" http://cakebuild.net/download/bootstrapper/packages + if [ $? -ne 0 ]; then + echo "An error occured while downloading packages.config." + exit 1 + fi +fi + +# Download NuGet if it does not exist. +if [ ! -f "$NUGET_EXE" ]; then + echo "Downloading NuGet..." + curl -Lsfo "$NUGET_EXE" https://dist.nuget.org/win-x86-commandline/latest/nuget.exe + if [ $? -ne 0 ]; then + echo "An error occured while downloading nuget.exe." + exit 1 + fi +fi + +# Restore tools from NuGet. +pushd "$TOOLS_DIR" >/dev/null +if [ ! -f $PACKAGES_CONFIG_MD5 ] || [ "$( cat $PACKAGES_CONFIG_MD5 | sed 's/\r$//' )" != "$( $MD5_EXE $PACKAGES_CONFIG | awk '{ print $1 }' )" ]; then + find . -type d ! -name . | xargs rm -rf +fi + +mono "$NUGET_EXE" install -ExcludeVersion +if [ $? -ne 0 ]; then + echo "Could not restore NuGet packages." + exit 1 +fi + +$MD5_EXE $PACKAGES_CONFIG | awk '{ print $1 }' >| $PACKAGES_CONFIG_MD5 + +popd >/dev/null + +# Make sure that Cake has been installed. +if [ ! -f "$CAKE_EXE" ]; then + echo "Could not find Cake.exe at '$CAKE_EXE'." + exit 1 +fi + +# Start Cake +if $SHOW_VERSION; then + exec mono "$CAKE_EXE" -version +else + exec mono "$CAKE_EXE" $SCRIPT -verbosity=$VERBOSITY -configuration=$CONFIGURATION -target=$TARGET $DRYRUN "${SCRIPT_ARGUMENTS[@]}" +fi \ No newline at end of file diff --git a/tools/packages.config b/tools/packages.config new file mode 100644 index 0000000..5cd4a35 --- /dev/null +++ b/tools/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file