Coder Social home page Coder Social logo

gocas's Introduction

GoCAS

Minimalist CAS server in Go. Here what currently works:

  • Basic workflow (/login, /validate, /serviceValidate)
  • Trust authentication (disabled by default)
  • /logout (no SLO for now)
  • simple whitelisting of exact service hosts (wildcard might come some day)
  • REST API
  • CAS proxy simple implementation
  • Middleware system
  • Failed login attempts throttling (quite native for now)

GoCAS requires a MongoDB service to be available. The available authenticators are :

  • Dummy (username should equal password, for testing purposes)
  • LDAP
  • RADIUS

Also, the following server protocols are supported:

  • CAS (duh!)
  • OAuth2

Configuration

Exhaustive example of configuration can be found in gocas.yaml.example. Location of configuration file can be given with switch -config.

Build and run

$ cd $GOPATH
$ go get -u github.com/apognu/gocas
$ go install github.com/apognu/gocas
$ $GOPATH/bin/gocas [-config /etc/gocas.yaml]

For now, the template/ directory must be copied/symlinked in the same directory the binary is located. This might change in the future.

CAS specification

This is a work in progress, we might or might not cover the whole CAS specification, for now, here is what we do:

TODO: include specification coverage stats.

gocas's People

Contributors

apognu avatar jmcarbo avatar

Watchers

 avatar

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.