First step to an authentication system that uses
authorKlaas Freitag <freitag@suse.de>
Fri, 21 Jul 2006 11:18:53 +0000 (11:18 +0000)
committerKlaas Freitag <freitag@suse.de>
Fri, 21 Jul 2006 11:18:53 +0000 (11:18 +0000)
commitfb5aa94c9b3d2c84a2d0fafea192b6fd4ff7c693
treea7108bcd45a725a8db9046c784f78603c650982b
parenta53d02c6f2b374eabd8f3d08f97e919689dba443
First step to an authentication system that uses
iChain.

This commit adds a model unregisteredperson to the webclient
which is used to transport the registration wish to the
frontend.
The privacy_controller is a NOP controller that only checks
for the X-username key in the HTTP header that ichain sends.
The ichain login mask only comes up if this controller is
accessed.
User_controller got new actions register and request_ichain.
application controller checks for the ichain subsystems enabled
through the config and extracts the user info from the header
-> still TODO: both authentication systems usable in parallel
src/webui/app/controllers/application.rb
src/webui/app/controllers/main_controller.rb
src/webui/app/controllers/privacy_controller.rb [new file with mode: 0644]
src/webui/app/controllers/user_controller.rb
src/webui/app/models/person.rb
src/webui/app/models/unregisteredperson.rb [new file with mode: 0644]
src/webui/app/views/user/register.rhtml [new file with mode: 0644]
src/webui/app/views/user/request_ichain.rhtml [new file with mode: 0644]
src/webui/config/environment.rb
src/webui/config/environments/development.rb