The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Name

CatalystX::Usul::Model::Config::Credentials - Database connection definitions

Version

0.6.$Revision: 1165 $

Synopsis

   # The constructor is called by Catalyst at startup

Description

Maintains database connection strings

Defines the language independent attributes; driver, host, password, port and user for the credentials element. Returns a CatalystX::Usul::Model::Config object

Subroutines/Methods

new

Defined the ctrldir attribute

create_or_update

   $c->model( q(Config::Credentials) )->create_or_update( $stash, $args );

Encrypts the $args->{req}->params->{password} attribute by calling encrypt in CatalystX::Usul::Schema. Then calls method of same name in CatalystX::Usul::Model::Config

credentials_form

   $c->model( q(Config::Credentials) )->credentials_form( $stash );

Stuffs the stash with the data to build the credentials maintenance form

Diagnostics

None

Configuration and Environment

None

Dependencies

CatalystX::Usul::Model::Config
CatalystX::Usul::Schema

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Author

Peter Flanigan, <Support at RoxSoft.co.uk>

License and Copyright

Copyright (c) 2008 Peter Flanigan. All rights reserved

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic

This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE