File tree Expand file tree Collapse file tree 1 file changed +62
-1
lines changed Expand file tree Collapse file tree 1 file changed +62
-1
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,68 @@ Response is: 200 OK with body
4949
50502) Accessing protected resource using access_token (1c9c15d6-302c-4729-826c-257594330396)
5151with Authorization type Bearer with value = access_token
52- to localhost:8080/api/users and i am getting test output: {"userId": "0", "userName": "admin"}
52+ to localhost:8080/api/users and i am getting test output:
53+
54+ [
55+ {
56+ "id": 1,
57+ "userName": "admin",
58+ "passwordHash": "$2a$10$aG04e37GbFM27mPjiEILEuJPd7CzGuKkcHpW7IaVBlfaOOwxf5MDm",
59+ "firstName": "ADMIN",
60+ "lastName": "ADMIN",
61+ "roles": [
62+ {
63+ "id": 1,
64+ "roleName": "ADMIN"
65+ },
66+ {
67+ "id": 2,
68+ "roleName": "USER"
69+ }
70+ ],
71+ "rolesRepresentation": [
72+ "ADMIN",
73+ "USER"
74+ ]
75+ },
76+ {
77+ "id": 1,
78+ "userName": "root",
79+ "passwordHash": "$2a$10$XXAecCz1UHUySSeepljbdeUopL7VszH4dip8yWKySM3JcOIoBytw.",
80+ "firstName": "SUPERUSER",
81+ "lastName": "SUPERUSER",
82+ "roles": [
83+ {
84+ "id": 1,
85+ "roleName": "ADMIN"
86+ },
87+ {
88+ "id": 2,
89+ "roleName": "USER"
90+ }
91+ ],
92+ "rolesRepresentation": [
93+ "ADMIN",
94+ "USER"
95+ ]
96+ },
97+ {
98+ "id": 1,
99+ "userName": "evillord",
100+ "passwordHash": "$2a$10$Ybwt13dpX9qeWQuQofI7K.nPkUWS/3/0ib6CmCuyThyvPHojcA88q",
101+ "firstName": "Michael",
102+ "lastName": "Ushakov",
103+ "roles": [
104+ {
105+ "id": 2,
106+ "roleName": "USER"
107+ }
108+ ],
109+ "rolesRepresentation": [
110+ "USER"
111+ ]
112+ }
113+ ]
53114
54115###########################################################################################################################################
55116######################################################## OPEN AM SECTION ##################################################################
You can’t perform that action at this time.
0 commit comments