source: mauRepo/dj_security/trunk/README @ 8678

Subversion URL: http://proj.badc.rl.ac.uk/svn/ndg/mauRepo/dj_security/trunk/README@8678
Revision 8678, 949 bytes checked in by mnagni, 7 years ago (diff)

Introduced two optional configurable parameters: COOKIE_DOMAIN, REDIRECT_URL

Line 
1dj_security is a Django based application which should be deployed as
2authentication service. It validates a user identity adding to the
3response a cookie called 'auth_tkt' generated by the paste's authentication
4module.
5
6In its default configuration it will reply to the incoming requests at path '/login'.
7
8The application contains a few configurable parameters concentrate in settings.py
9
101) SHARED_SECRET: the secret key used to encrypt the generated 'auth_tkt' cookie
112) the deafult dataset 'DB_xxx' parameters, that is:
12'ENGINE':   'DB_ENGINE',
13'NAME':     'DB_NAME',
14'USER':     'DB_USER',
15'PASSWORD': 'DB_PASSWORD',
16'HOST':     'DB_HOST',
17'PORT':     'DB_PORT',
183) COOKIE_DOMAIN (optional): the domain where the auth_tkt will belong
19[default = where dj_security is deployed]
204) REDIRECT_URL (optional): the parameter used by the client application
21to specify where redirect the user whenever the authentication succeed
22[default = 'r']
23 
Note: See TracBrowser for help on using the repository browser.