https://github.com/ubc/vagrant-cas
A CAS Testing Server Provision Script
https://github.com/ubc/vagrant-cas
Last synced: 7 months ago
JSON representation
A CAS Testing Server Provision Script
- Host: GitHub
- URL: https://github.com/ubc/vagrant-cas
- Owner: ubc
- Created: 2014-08-08T21:04:20.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2019-12-09T19:17:03.000Z (over 5 years ago)
- Last Synced: 2024-04-08T19:14:11.894Z (about 1 year ago)
- Language: Java
- Size: 14.6 KB
- Stars: 3
- Watchers: 9
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Vagrant Provision script for CAS testing server
===============================================It will provision a CAS 3.5.2 testing server with vagrant.
Running
-------git clone https://github.com/ubc/vagrant-cas.git
cd vagrant-cas
vagrant upTesting
-------open http://192.168.33.10/cas/login
Or if you need SSL enabled version:
open https://192.168.33.10/cas/login
Using
-----
Point the application to https://192.168.33.10/cas/ for the CAS configuration.Logins are listed in the deployerConfigContext.xml file. As an example:
scott:casuser
rich:test
student:student
employee:employee
guest:guest
basic:basicAttributes
----------The person-attributes.conf file contains a list of attributes for each user. This is JSON format.
In order for your CAS server to release these attributes you must enable them in the services app.
This can be accessed at 192.168.33.10/cas/services/ -- you will need to sign in as scott:casuser
(by default but you are able to change this in deployerConfigContext.xml under userDetailsService.
Also, the user must have a `"memberOf": ["ROLE_ADMIN"],` attribute.Once you access the Manage Services app, click on the 'edit' next to the HTTP and IMAP service and
then cmd/ctrl click on each of the attributes you wish to release. This list is populated from
the keys of attributes that you set in the person-attributes.conf file.Click Save Changes.