Coder Social home page Coder Social logo

dotnet-cas-client-memcached's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.