loginBlocked(String, StringBuffer) method [deprecated]
Deprecated. Override loginBlocked(User, String, StringBuffer, SessionData) instead. This method is called by the Agentry Server when authentication of a client user is blocked, either because this class returned a blocked login from the login(String, String, SessionData) or loginPreviousUser(String, String, SessionData) methods, or because another system connection blocked the login.
Syntax
public
LoginEnumeration
loginBlocked
(
String
userId
,
StringBuffer
error
)
Parameters
-
userId –
The user ID for the user whose login attempt has failed.
-
error –
A StringBuffer that contains the error message that was returned by the system connection that blocked the login. This message will ultimately be logged on the server and displayed on the client. The error message can be changed by modifying the contents of this buffer.
Returns
Always returns Server.LoginEnumeration#Login_InvalidBlocked
Usage
It should clean up any user-related resources; it can also return additional information about why the login failed.