Skip to content

lightning-framework/lightning-cas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lightning-cas

A library that provides support for Jasig's CAS (Central Authentication Service) protocol.

Usage:

First, configure the module by injecting the following parameters:

InjectorModule injector = new InjectorModule();
injector.bindAnnotationToInstance(CASHost.class, "netid.rice.edu");
injector.bindAnnotationToInstance(CASPath.class, "/cas");
injector.bindAnnotationToInstance(CASDomain.class, "@rice.edu");

Next, include the controller by adding it to your scan prefix:

lightning.plugins.cas.controllers

That's it! Redirect the user to /login to log them in and /logout to log them out. The user will be redirected back to / on success.

About

Provides Jasig CAS support for Lightning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages