This plugin adds CAS support to Play! Framework 1 applications.
require:
- cas -> cas 1.4.0
repositories:
- sismicsNexusRaw:
type: http
artifact: "https://nexus.sismics.com/repository/sismics/[module]-[revision].zip"
contains:
- cas -> *
Add the following parameters to application.conf:
# CAS configuration
# ~~~~~~~~~~~~~~~~~~~~
cas.mock=false
cas.url=https://cas.example.com/cas
cas.service=http://service.example.com/login
String login = Cas.get().getValidationService().validate(ticket);
We recommand to mock CAS in development mode and test profile.
Use the following configuration parameter:
cas.mock=true
This software is released under the terms of the Apache License, Version 2.0. See LICENSE
for more
information or see https://opensource.org/licenses/Apache-2.0.