Peter Flanigan > CatalystX-Usul > CatalystX::Usul::Model::Config::Credentials

Download:
catalystx-usul/CatalystX-Usul-0.17.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: v0.17.1   Source  

Name ^

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

Version ^

Describes v0.17.$Rev: 1 $

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

syntax highlighting: