cas

package
v3.2.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2019 License: AGPL-3.0 Imports: 19 Imported by: 2

README

Authenticating with Aperao CAS

Introduction

Documize can delegate user authentication to aperao CAS integration.

This document assumes that the Documize administrator has installed and is familiar with CAS server.

https://www.apereo.org/projects/cas

Documize is tested against the CAS version 5.3.x.

Run a CAS server

Refer to the following like https://apereo.github.io/cas/5.0.x/installation/Docker-Installation.html to run CAS server. Usually the server address is `https://localhost:8443/cas".

Configuring Documize

CAS authentication is configured and enabled from Settings.

Type in the CAS Server URL, Redirect URL.

  • CAS Server URL: The CAS host address, eg: https://localhost:8443/cas
  • Redirect URL: The CAS authorize callback URL. If your documize URL is https://example.documize.com, then redirect URL is https://example.documize.com/auth/cas.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Runtime *env.Runtime
	Store   *store.Store
}

Handler contains the runtime information such as logging and database.

func (*Handler) Authenticate

func (h *Handler) Authenticate(w http.ResponseWriter, r *http.Request)

Authenticate checks CAS authentication credentials.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL