On 14.12.2010 19:15, Grégory Joseph wrote:

There's something very close to what you need (if not exactly) in the 
openid-module. Have a look at info.magnolia.module.openid.frontend.LoginModel.

Thanks Grég.. just looked in, correct me if I'm wrong:

with something like:

----------------------------
public User myCustomLogin(String username, String password){
... my custom login phase, it will create a non-JCR MagnoliaUser
}

public void doLogin(String username, String password){

final User user = myCustomLogin(username, password);
if (null != user) {
LoginResult loginResult = new LoginResult(LoginResult.STATUS_SUCCEEDED, user);
}
----------------------------

I should achieve my goal, isn't it? I forget anything?

Perhaps this is something we could port to pur or the form module or stk 
themselves - feel to submit patches or ideas !

Yes, it would be a good FormProcessor.
I'm going to implement (today or tomorrow..) and share what will happen.

Let me know only if my approach can be a valid one.
Thanks

matteo



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to