loginFailed(String, StringBuffer) method [deprecated]

Deprecated. Override loginFailed(User, String, LoginFailureReason, StringBuffer, SessionData) instead. This method is called by the Agentry Server when authentication of a client user fails, either because this class returned a failed login from the login or loginPreviousUser methods, or because another system connection failed the login.

Syntax

public LoginEnumeration loginFailed ( String userId , StringBuffer error )

Parameters

Returns

Login_Invalid or Login_InvalidBlocked. If the latter is returned, then loginBlocked(String, StringBuffer) will be invoked as well.

Usage

It should clean up any user-related resources; it can also return additional information about why the login failed.