Catalyst Introducing Catalyst #39

Authentication

__PACKAGE__->config(authentication => {
    default_realm => 'editors',
    realms => {
        editors => {
            credential => {
                class => 'Password',
                password_field => 'password',
                password_type => 'clear'
            },
            store => {
                class => 'Minimal',
                users => {
                    jon => { password => "test" },
                },
            },
        },
    },
});
""