Fórum

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

chetan chouhan, modificado 8 Anos atrás.

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

New Member Mensagem: 1 Data de Entrada: 13/10/15 Postagens Recentes
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 8 Anos atrás.

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

Liferay Master Postagens: 603 Data de Entrada: 14/05/07 Postagens Recentes
No, there's no way to differentiate them.