Catalyst::Authentication::Store::KiokuDB - KiokuDB store for auth


Catalyst-Authentication-Store-KiokuDB documentation  | view source Contained in the Catalyst-Authentication-Store-KiokuDB distribution.

Index


NAME

Top

Catalyst::Authentication::Store::KiokuDB - KiokuDB store for auth

SYNOPSIS

Top

    use Catalyst qw/
        Authentication
    /;

    __PACKAGE__->config->{'Plugin::Authentication'} = 
                    {  
                        default_realm => 'admin',
                        realms => {
                            admin => {
                                credential => {
                                    class           => 'Password',
                                    password_field  => 'password',
                                    password_type   => 'clear'
                                },
                                store => {
                                    class       => 'KiokuDB',
                                    kiokuDir    => '/path/to/some/dir',
                	            }
                	        }
                    	}
                    };

    


DESCRIPTION

Top

This is a simple authentication store that uses KiokuDB as its backend storage. It is recommended if you are already using KiokuDB and wish to centralise all of your storage there.

CONFIGURATION

Top

Only one of the following should be specified.

kiokuDir

This is the path to the directory in which you tell KiokuDB to store its data.

kiokuObject

This is an already instantiated KiokuDB object which you wish to reuse to store you data with. This object needs to support searching based on attributes.

METHODS

Top

This store implements no methods outside of those required by its base class.

AUTHOR

Top

Robin Berjon, <robin@berjon.com>, http://robineko.com/

COPYRIGHT

Top


Catalyst-Authentication-Store-KiokuDB documentation  | view source Contained in the Catalyst-Authentication-Store-KiokuDB distribution.