From 14135a586bbdbdd5b2d2f48a83f5e438b07ca343 Mon Sep 17 00:00:00 2001
From: farrell-m <168534673+farrell-m@users.noreply.github.com>
Date: Fri, 13 Dec 2024 11:00:58 +0000
Subject: [PATCH] Fix mermaid diagram
---
.../README.md | 29 +++++++++----------
1 file changed, 14 insertions(+), 15 deletions(-)
diff --git a/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-auth/README.md b/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-auth/README.md
index 671b8a3..210ab43 100644
--- a/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-auth/README.md
+++ b/laa-ccms-spring-boot-starters/laa-ccms-spring-boot-starter-auth/README.md
@@ -122,37 +122,37 @@ graph
end
- client -- START
1. Request (protected endpoint) --> authenticationFilter
+ client -- START
[1] Request (protected endpoint) --> authenticationFilter
- authenticationFilter -- 2. Create authentication token --> authenticationService
+ authenticationFilter -- [2] Create authentication token --> authenticationService
- authenticationFilter -- 3. check authentication --> authenticationCheck
+ authenticationFilter -- [3] check authentication --> authenticationCheck
- authenticationCheck -- 4a. Yes - Store authentication token --> creds
+ authenticationCheck -- [4a] Yes - Store authentication token --> creds
- authenticationCheck -- 4b. No - 401 Unauthorized --> client
+ authenticationCheck -- [4b] No - 401 Unauthorized --> client
- authenticationFilter -- 5. doFilter --> authorizationFilter
+ authenticationFilter -- [5] doFilter --> authorizationFilter
- authorizationFilter -- 6. Get authentication token --> creds
+ authorizationFilter -- [6] Get authentication token --> creds
- authorizationFilter -- 7. Check authorization --> authorizationM
+ authorizationFilter -- [7] Check authorization --> authorizationM
authorizationM --> rmdAuthorizationM
- rmdAuthorizationM -- 8. Identify matching request mapping--> rmdAuthorizationM
+ rmdAuthorizationM -- [8] Identify matching request mapping --> rmdAuthorizationM
rmdAuthorizationM --> authorityAuthorizationM
- authorityAuthorizationM -- 9. Compare client's role
against role required
for endpoint --> authorityAuthorizationM
+ authorityAuthorizationM -- [9] Compare client's role
against role required
for endpoint --> authorityAuthorizationM
authorityAuthorizationM --> authorizationCheck
- authorizationCheck -- 10a. No --> accessDeniedHandler
- accessDeniedHandler -- 11a. 403 Forbidden --> client
+ authorizationCheck -- [10a] No --> accessDeniedHandler
+ accessDeniedHandler -- [11a] 403 Forbidden --> client
- authorizationCheck -- 10b. Yes --> businessLogic
- businessLogic -- 11b. Normal response --> client
+ authorizationCheck -- [10b] Yes --> businessLogic
+ businessLogic -- [11b] Normal response --> client
classDef green fill:#206020,stroke:#333,stroke-width:2px;
@@ -164,7 +164,6 @@ graph
linkStyle 4 stroke:red,color:red
linkStyle 14 stroke:red,color:red
linkStyle 16 stroke:green,color:green
-
```
## OpenAPI Configuration