Foros de discusión

Is there any way to differentiate between login failed and account locked?

chetan chouhan, modificado hace 8 años.

Is there any way to differentiate between login failed and account locked?

New Member Mensaje: 1 Fecha de incorporación: 13/10/15 Mensajes recientes
I'm unable to differentiate events "login failed" & "user account is locked".
We are using mobile sdk's below login function for authentication :

SignIn.signIn(session, new JSONObjectAsyncTaskCallback() {
@Override
public void onFailure(Exception exception) { }
});

We are getting exception type "com.liferay.mobile.android.exception.AuthenticationException: java.lang.SecurityException". It is the same exception we get while user entered wrong credentials.

Is there any way to differentiate between login failed and account locked cases.
thumbnail
Bruno Farache, modificado hace 8 años.

RE: Is there any way to differentiate between login failed and account lock

Liferay Master Mensajes: 603 Fecha de incorporación: 14/05/07 Mensajes recientes
No, there's no way to differentiate them.