File: README.Debian

package info (click to toggle)
php-cas 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 640 kB
  • sloc: php: 4,903; makefile: 2
file content (32 lines) | stat: -rw-r--r-- 787 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
phpCAS for Debian
-----------------

This package helps interface PHP applications with a CAS (Central
Authentication Service) server, typically to perform SSO (Single Sign
On) against a central directory.

Your code may use things like :

---
include_once('CAS.php');

phpCAS::client(CAS_VERSION_2_0,'localhost',8443,'/cas-server-webapp-3.2.1.1/');

//phpCAS::setNoCasServerValidation();

// force CAS authentication
phpCAS::forceAuthentication();

$user = phpCAS::getUser();

----

See also the examples in /usr/share/doc/php-cas/examples/ for more details.


Full documentation is available at :
http://www.ja-sig.org/wiki/display/CASC/phpCAS and
http://www.ja-sig.org/downloads/cas-clients/php/current/docs/


 -- Olivier Berger <obergix@debian.org>, Wed, 13 Jun 2012 22:04:33 +0200