
CatalystX::Usul::Model::Identity - Identity model with multiple backend stores

0.7.$Revision: 1181 $

package MyApp::Model::Identity; use base qw(CatalystX::Usul::Model::Identity); 1;

Provides an identity model with multiple backend data stores. The model supports; create, read, update and delete operations in addition to; authentication, password changing, password setting, account registration and account activation

Constructor creates instances of the subclasses. The roles and users subclasses a loaded at runtime since the backend store is a config option
Returns a hash ref whose keys are the realm names and whose values are the model class names
Calls build_per_context_instance on each of the subclasses; aliases, profiles, roles, and users
Returns the name of the default realm
Calls and returns the value from the find_user method on the users subclass
Looks the supplied realm name up in the "auth_realms" and returns the model class name. The realm name defaults to the default_realm attribute

None

None


There are no known incompatibilities in this module

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

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

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