Authentication

70 views
Skip to first unread message

BramNl

unread,
Feb 1, 2012, 3:23:38 AM2/1/12
to Delphi on Rails
What/how about Authentication within DOR? Any idea?

thnx Bram

Henri Gourvest

unread,
Feb 1, 2012, 3:39:26 AM2/1/12
to delphi...@googlegroups.com
I have not implemented classic HTTP authentication, I think it is useless.
Create a simple html form and use "Session" object to store user informations in the app cookie.
I suggest you inherith all controler from a common controller class where you can check authentication, overriding "Invoke" method, so you will be able to redirect automatically to the login page when user is not authenticated.
I suggest to use SLL when authenticating (check "HaveSLL" value).

Le 1 février 2012 09:23, BramNl <bram.va...@gmail.com> a écrit :
What/how about Authentication within DOR? Any idea?

thnx Bram



--
Henri Gourvest

BramNl

unread,
Feb 1, 2012, 4:04:52 AM2/1/12
to Delphi on Rails
ok, thnx again

On 1 feb, 09:39, Henri Gourvest <hgourv...@gmail.com> wrote:
> I have not implemented classic HTTP authentication, I think it is useless.
> Create a simple html form and use "Session" object to store user
> informations in the app cookie.
> I suggest you inherith all controler from a common controller class where
> you can check authentication, overriding "Invoke" method, so you will be
> able to redirect automatically to the login page when user is not
> authenticated.
> I suggest to use SLL when authenticating (check "HaveSLL" value).
>
Reply all
Reply to author
Forward
0 new messages