[Solar-talk] Authentication Module: Password Changes
Rodrigo Moraes
rodrigo.moraes at gmail.com
Thu May 15 15:25:54 CDT 2008
On Thu, May 15, 2008 at 4:06 PM, Kilbride, James P. wrote:
> The problem is that the authentication adaptor has the information on
> what hash function was used, which column, etc. I can(and do) right now
> manually recreate that but since authentication knows which column
> should be managed and what function to encrypt it with, and what the
> salt is(the salt is probably the most critical really) it felt like it
> should be able to do that to maybe. Or at least have a way to return
> some of that information easily.
I think it is a good idea to make the adapter a bit 'dumb' and call
methods to read the data (using hash / salt) from a model,
centralizing these config's there. You'd need a slightly different
adapter and move this data-related stuff to the model. Solar just
can't do this because as I understand it doesn't intend to have a
'user' model.
-- rodrigo
More information about the Solar-talk
mailing list