dotnetcasclient-prerelease - DotNetCasClient.Memcached 1.0.2

Memcached backed Proxy/Service Ticket Managers for the Apereo .NET CAS Client.

PM> Install-Package DotNetCasClient.Memcached -Version 1.0.2 -Source https://www.myget.org/F/dotnetcasclient-prerelease/api/v3/index.json

Copy to clipboard

> nuget.exe install DotNetCasClient.Memcached -Version 1.0.2 -Source https://www.myget.org/F/dotnetcasclient-prerelease/api/v3/index.json

Copy to clipboard

> dotnet add package DotNetCasClient.Memcached --version 1.0.2 --source https://www.myget.org/F/dotnetcasclient-prerelease/api/v3/index.json

Copy to clipboard
<PackageReference Include="DotNetCasClient.Memcached" Version="1.0.2" />
Copy to clipboard
source https://www.myget.org/F/dotnetcasclient-prerelease/api/v3/index.json

nuget DotNetCasClient.Memcached  ~> 1.0.2
Copy to clipboard

> choco install DotNetCasClient.Memcached --version 1.0.2 --source https://www.myget.org/F/dotnetcasclient-prerelease/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "dotnetcasclient-prerelease" -SourceLocation "https://www.myget.org/F/dotnetcasclient-prerelease/api/v2"
Install-Module -Name "DotNetCasClient.Memcached" -RequiredVersion "1.0.2" -Repository "dotnetcasclient-prerelease" 
Copy to clipboard

Memcached backed Proxy/Service Ticket Managers for the Apereo .NET CAS Client

Build status Stable nuget Pre-release nuget Unstable nuget License

Gitter Stack Overflow

Introduction

This project is an add-on to the Apereo .NET CAS Client that implements the proxy and service ticket managers backed by a Memcached data store.

By storing your proxy and service tickets in a centralized data store your applications running in a distributed, clustered or load balanced environment will all have access to the same proxy and service ticket data. This is not possible to achieve with the default in-memory proxy and service ticket managers that ships with the Apereo .NET CAS Client.

Configuration

You will need to make modifications to your application's web.config file after installing this NuGet package.

First Modification:

The first modification will be to add the pertinent Memcached configuration elements. This project has a dependency on EnyimMemcached in order to integrate with Memcached. Please see the EnyimMemcached configuration documentation with regards to which pertinent elements need to be added to the web.config file.

Second Modification:

The second modification will be to modify the <casClientConfig> xml element in your web.config file. Specifically we will be changing the proxyTicketManager (if you use that) and the serviceTicketManager XML attribute values.

Set the serviceTicketManager attribute value to: DotNetCasClient.State.MemcachedServiceTicketManager, DotNetCasClient.Memcached

Set the proxyTicketManager attribute value to: DotNetCasClient.State.MemcachedProxyTicketManager, DotNetCasClient.Memcached

Also, don't forget to wire-up the rest of the .NET Cas Client configuration too.

After all that configuration you should be good to go!

Contributing

Contributing Guide Contributors Open Pull Requests

If you have already identified an enhancement or a bug, it is STRONGLY recommended that you simply submit a pull request to address the case. There is no need for special ceremony to create separate issues. The pull request IS the issue and it will be tracked and tagged as such.

This project follows the GitFlow branching/workflow model. As such, please base all of the code changes in your pull request off of the develop branch in our repo. We will merge your pull request, if accepted, into our develop branch.

Also take a look at the Apereo Contributor Guidelines article for an more information about contributing.

Version: 1.0.0 Initial release.

  • Any 0.0
    • DotNetCasClient (>= 1.2.0)
    • EnyimMemcached (>= 2.16.0)
  • .NETFramework 4.5: 4.5.0.0

Owners

phantomtypist

Authors

Jason Kanaris

Project URL

https://github.com/apereo/dotnet-cas-client-memcached

License

Apache-2.0

Tags

Apereo Jasig CAS Authentication Memcached Authn ASP.NET MVC MVC2 MVC3 MVC4 MVC5 WebForms

Info

215 total downloads
76 downloads for version 1.0.2
Download (9.62 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.2 9.62 KB Wed, 17 Apr 2019 02:46:25 GMT 76
1.0.1 9.67 KB Tue, 16 Apr 2019 15:35:18 GMT 59
1.0.0 9.67 KB Mon, 15 Apr 2019 18:18:34 GMT 80