Cannot log into syncope after creating new user (latest 2.1.0-SNAPSHOT)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Cannot log into syncope after creating new user (latest 2.1.0-SNAPSHOT)

Adrian Gonzalez
Hello,


What I do :
 * connect to syncope-console with user admin/password.
 * create a user via the console (this apparently works fine - but not so - see later)
 * logout
 * connect with this new user credentials

I get an Error ! 'Wrong username and/or password'

I tried Syncope 2.0.1, and this scenario works fine.

When activating debugging, I see that the good password for UserTO is set on updateModel -> setPassword.
But just after that, there's a call to AjaxWizardMgtButtonBar.onSubmit which reset password back to null.
At the end of user creation, the password of the created user is null (that's why I cannot login with the newly created user).

I don't know Wicket framework, so I have a hard time finding the culprit.

Can anyone help me please ?

Thanks
Adrian
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot log into syncope after creating new user (latest 2.1.0-SNAPSHOT)

mdisabatino

Hi Adrian,


Il 26/12/2016 14:36, Adrian Gonzalez ha scritto:
Hello,


What I do :
 * connect to syncope-console with user admin/password.
 * create a user via the console (this apparently works fine - but not so - see later)
 * logout
 * connect with this new user credentials
I confirm your issue.

I get an Error ! 'Wrong username and/or password'

I tried Syncope 2.0.1, and this scenario works fine.
I tried with Syncope 2_0_X and I have the same issue.

When activating debugging, I see that the good password for UserTO is set on updateModel -> setPassword.
But just after that, there's a call to AjaxWizardMgtButtonBar.onSubmit which reset password back to null.
At the end of user creation, the password of the created user is null (that's why I cannot login with the newly created user).

I don't know Wicket framework, so I have a hard time finding the culprit.

Can anyone help me please ?
It seems to be a problem given by the update of Wicket from version 7.4.0 to 7.5.0.
I'm reopening issue SYNCOPE-962 [1]

Regards
M

[1]https://issues.apache.org/jira/browse/SYNCOPE-962


Thanks
Adrian

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Cannot log into syncope after creating new user (latest 2.1.0-SNAPSHOT)

Adrian Gonzalez
Thanks Marco !



De : Marco Di Sabatino Di Diodoro <[hidden email]>
À : [hidden email]
Envoyé le : Mardi 27 décembre 2016 10h59
Objet : Re: Cannot log into syncope after creating new user (latest 2.1.0-SNAPSHOT)

Hi Adrian,

Il 26/12/2016 14:36, Adrian Gonzalez ha scritto:
Hello,


What I do :
 * connect to syncope-console with user admin/password.
 * create a user via the console (this apparently works fine - but not so - see later)
 * logout
 * connect with this new user credentials
I confirm your issue.

I get an Error ! 'Wrong username and/or password'

I tried Syncope 2.0.1, and this scenario works fine.
I tried with Syncope 2_0_X and I have the same issue.

When activating debugging, I see that the good password for UserTO is set on updateModel -> setPassword.
But just after that, there's a call to AjaxWizardMgtButtonBar.onSubmit which reset password back to null.
At the end of user creation, the password of the created user is null (that's why I cannot login with the newly created user).

I don't know Wicket framework, so I have a hard time finding the culprit.

Can anyone help me please ?
It seems to be a problem given by the update of Wicket from version 7.4.0 to 7.5.0.
I'm reopening issue SYNCOPE-962 [1]

Regards
M

[1]https://issues.apache.org/jira/browse/SYNCOPE-962



Thanks
Adrian

-- 
Dott. Marco Di Sabatino Di Diodoro
Tel. +39 3939065570

Tirasa S.r.l.
Viale D'Annunzio 267 - 65127 Pescara
Tel +39 0859116307 / FAX +39 0859111173
http://www.tirasa.net

Apache Syncope PMC Member
http://people.apache.org/~mdisabatino/


Loading...