JSON Commands: User Online Control
The NBI supports Login (sync) JSON commands.
These commands are used for user authentication, user status query, and verifying that the enrichment information has the same content. For each command (JSON POST), the UE-MAC is mandatory.
Note: Although the NBI expects to receive an
encrypted UE-MAC address (for example, ENC12bc24c4777703327f2e0aabbf6b9f9e) when the
request category is User Online Control, unencrypted UE-MAC are also acceptable.
However, the UE-MAC must exactly match the client_mac in the query string that is sent
to the external subscriber portal.
Request and Re-Authentication Synchronous Login
RUCKUS One provides a synchronous login blocking command (RequestType=Login).
Note: The MAC Auth bypass
option helps user skipping reloging in.
During synchronous login, the external Web portal must wait for the authentication process to complete, which is usually processed by the authentication server. This could result in a delayed response if the controller is unable to get a response from the authentication server.
The following table lists the controller responses to the synchronous login command.
Response Type | Possible Responses |
---|---|
Normal response |
|
Service error |
|
General error |
|
Note: If an authentication process
has a result (not pending), RUCKUS Cloud responds to it only once. For example,
if RUCKUS Cloud replies 301, login failed, to the web portal server, and the web
portal server sends the same query, the response will be 100, Unauthorized. If
the controller replies 201, login was successful, and the web portal server
queries again, the response will be 101, Authorized.