NAME
CAS::Config - Load the core configuration data and conect to the database.
VERSION
Version 0.40
SYNOPSIS
use CAS::Config;
my $HR_config = CAS::Config->load({CLIENT_ID => n});
This module isn't intended for direct use. It returns a hashref which is used as the common core data structure for all other CAS modules.
load
Load a CAS client. This function returns a hashref containing all the basic data from the config file and the indicated client, except the admin password. This function is not intended to be called directly, but rather is the core data structure blessed as a CAS client object.
PARAMETERS:
One of the following three arguments must be provided. If more than one is available, they are selected in the order listed here.
CLIENT_ID: The database ID of the client which is seeking to connect to CAS.
CLIENT_NAME: The name of the client which is seeking to connect to CAS.
CLIENT_DOMAIN: The domain of the client which is seeking to connect to CAS. listed.
OPTIONS:
CONFIG: Alternate configuration file. Defaults to '/etc/CAS.yaml'.
AUTHOR
Sean P. Quinlan, <gilant at gmail.com>
BUGS
Please report any bugs or feature requests to bug-cas-config at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CAS. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc CAS
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2006 Sean P. Quinlan, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.