THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!

Apache Kylin : Analytical Data Warehouse for Big Data

Page tree

Versions Compared

Key

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

...

  • userDetails - Defined authorities and status of current user.

Response Sample

...

Code Block
languagejs
themeMidnight
titleResponse Sample
{
    "userDetails":

...

 {
        "username":

...

 "ADMIN",

...


        "password":

...

 "$2a$10$o3ktIWsGYxXNuUWQiYlZXOW5hWcqyNAFQsSSCSEWoC/BRVMAUjL32",

...


        "authorities":

...

 [
            {
                "authority":

...

 "ROLE_ADMIN"

...


            },
            {
                "authority":

...

 "ROLE_ANALYST"

...


            },
            {
                "authority":

...

 "ROLE_MODELER"

...


            },
            {
                "authority":

...

 "ALL_USERS"

...


            }
        ],
        "disabled":

...

 false,
        "defaultPassword":

...

 false,
        "locked":

...

 false,
        "lockedTime":

...

 0,
        "wrongTime":

...

 0,
        "uuid":

...

 "29384f19-140a-f651-2f83-c331bcb25400",

...


        "last_modified":

...

 1594810732763,
        "version":

...

 "3.9.9.1"

...


    }
}

Curl Example

curl -c /path/to/cookiefile.txt -X POST -H "Authorization: Basic XXXXXXXXX" 
-H 'Content-Type: application/json' http://<host>:<port>/kylin/api/user/authentication

...