auth module written in go

go get



Authentication module

Testing on: Ubuntu 14.04.4 LTS
Programming language: Golang: go1.5.2 linux/amd64
Web-framework: gin-gonic

  • Using authorization depends on url-prefix, client address and request header, that indicated in webconfig file
  • Authentications: http basic, http digest, windows NTLM, trust, forms/cookie
  • Implemented the ability to pass a list of users from different repositories (configfile/DB): it setting in main.go. For example:

run a program

go build main.go 

Warning: in this module log library creates a log directory where exec file is situated; it is not recommended to use go run.