Skip to content

Commit 201b9a9

Browse files
committed
update readme
1 parent ef48058 commit 201b9a9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lab2/README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ implementation('org.springframework.boot:spring-boot-starter-security')
146146
```
147147
and add this dependency instead:
148148
```groovy
149-
implementation ('org.springframework.boot:spring-boot-starter-oauth2-client')
149+
implementation('org.springframework.boot:spring-boot-starter-oauth2-client')
150150
```
151151

152152
Spring security 5 uses the
@@ -397,24 +397,27 @@ users:
397397

398398
Now, after authenticating at keycloak you should be able to see the library client.
399399

400+
Please also checkout what happens if you login using users having different roles, e.g. as _pparker_
401+
as the library curator.
402+
400403
If you want to see what is going on behind the scenes just add a debugging breakpoints to the following
401404
classes and methods
402405

403-
<u>Authorization Request:</u>
406+
__Authorization Request:__
404407

405408
For this part add a debugging breakpoint to the method
406409

407410
_OAuth2AuthorizationRequest resolve(HttpServletRequest request, String registrationId, String redirectUriAction)_
408411
in class _org.springframework.security.oauth2.client.web.DefaultOAuth2AuthorizationRequestResolver_.
409412

410-
<u>Authorization code redirect callback:</u>
413+
__Authorization code redirect callback:__
411414

412415
For this part add a debugging breakpoint to the method
413416

414417
_Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response)_
415418
in class _org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter_
416419

417-
<u>Exchange authorization code for access token:</u>
420+
__Exchange authorization code for access token:__
418421

419422
For this part add a debugging breakpoint to the method
420423

0 commit comments

Comments
 (0)