[FLOW3-general] Extending default account - new authentication provider?
Søren Malling
soren.malling at gmail.com
Mon Jan 10 08:09:58 CET 2011
Hi,
I'm currently working with the security framework of FLOW3 - I must
say it's amazing! And I'm learning a lot of new stuff from the
project!
RIght now I'm facing the need of "extending" the default account
model. I need to add some informations like firstname, lastname and
e-mail (All these properties are available in the Party Person model).
How will I be able to extend the \F3\FLOW3\Security\Account model?
I've had a look at how the PhoenixDemoTypo3Org.git package are using
the security/account functions along with the Registration plugin. It
looks like it made a new authentication provider (from
Configuration/Settings.yaml):
FLOW3:
security:
authentication:
providers:
DefaultProvider:
providerClass: PersistedUsernamePasswordProvider
entryPoint:
webRedirect:
uri: typo3/login
authenticationStrategy: oneToken
mvc:
notFoundController: F3\TYPO3\Controller\ErrorController
Is this the way to go, in order to use my own account model?
Best regards,
Søren Malling
TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
Twitter: twitter.com/sorenmalling
More information about the FLOW3-general
mailing list