CAS::Config - Load the core configuration data and conect to the database.


CAS documentation  | view source Contained in the CAS distribution.

Index


NAME

Top

CAS::Config - Load the core configuration data and conect to the database.

VERSION

Top

Version 0.40

SYNOPSIS

Top



    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

Top

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

Top

Sean P. Quinlan, <gilant at gmail.com>

BUGS

Top

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

Top

You can find documentation for this module with the perldoc command.

    perldoc CAS

You can also look for information at:

* AnnoCPAN: Annotated CPAN documentation

http://annocpan.org/dist/CAS

* CPAN Ratings

http://cpanratings.perl.org/d/CAS

* RT: CPAN's request tracker

http://rt.cpan.org/NoAuth/Bugs.html?Dist=CAS

* Search CPAN

http://search.cpan.org/dist/CAS

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


CAS documentation  | view source Contained in the CAS distribution.