Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The authentication process requires sending the proper credentials in a JSON message. If the authentication success, Manager's answer will inject a session cookie, which needs to be preserved and included in the next HTTP requests.

Format

MethodPOST
URL

/authenticate

Request contentsAuthenticate Object
Answer contentsAuthResult Object
Unexpected error format

HTTP 500

Authenticate Object

Schema

usernameStringflexVDI Manager's registered username
passwordString

Password for this username

JSON example


 
Code Block
{
    
languagejs
{
    "username": "admin",
    

    "password": "flexvdi"

}

 


AuthResult Object

Schema

statusStringAuthentication result. Either "Error" or "OK"
messageString

Session identification string

JSON example


 
Code Block
languagejs
{
    "status": "OK",
    "message": "27d2b548-0284-4bd1-ad28-f3419d930aa3"
}

 


Disabling flexVDI Manager authentication

...

  1. Log into Manager's instance using SSH.
  2. Edit /flexvdi/external/manager/application.conf
  3. Change flexvdi.secure_server option from on to off
  4. Restart Manager with the this command: service flexvdi-manager restart