This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE | ||
| |
README | ||
| |
config/ | ||
| |
lib/ | ||
| |
modules/ | ||
| |
package.xml.tmpl | ||
| |
sfRestfulAuthenticationPlugin-0.0.3.tgz | ||
| |
test/ |
README
sfRestfulAuthentication plugin
==============
The `sfRestfulAuthentication` is a symfony plugin that provides simple (and restful) authentication
features. As it name shows it's based on technoweenie's restful_authentication plugin
(git://github.com/technoweenie/restful-authentication.git)
It gives you the model (sfRAUser) and the modules
(users and sessions) to register and authenticate users in your symfony application.
Installation
------------
* Install the plugin
$ git clone git://github.com/krasio/sfrestfulauthenticationplugin.git plugins/sfRestfulAuthenticationPlugin
* Rebuild your model and create DB tables
$ symfony propel:build-all
* Enable users and sessions modules in your `settings.yml`
[php]
all:
.settings:
enabled_modules: [default, users, sessions]
* Clear you cache
$ symfony cc
Secure your application
-----------------------
To secure a symfony application:
* Change the default login module in `settings.yml`
[yml]
login_module: sessions
login_action: new
* Change the parent class in `myUser.class.php`
[php]
class myUser extends sfRestfulAuthenticationUser
{
}
N.B.: You must have a `@homepage` routing rule (used when a user sign out)








