@@ -38,6 +38,8 @@ do not authenticate directly and do not contain identity-provider integration.
3838 authenticate or open websocket connections.
393910 . Authentication failure for one remote does not terminate the portal or
4040 other remotes.
41+ 11 . The portal returns the module registry in
42+ ` LOGIN_SUCCESS.moduleRegistry ` ; remote servers omit it.
4143
4244## Terminology
4345
@@ -280,9 +282,10 @@ uses the explicit mode.
2802825 . Acquires the shared portal connection-registry entry.
2812836 . Opens the portal websocket with the portal VUU token when it is not already
282284 connected.
283- 7 . Publishes the handler, authenticated identity, portal VUU session, and
285+ 7 . Captures the module registry returned by the portal ` LOGIN_SUCCESS ` .
286+ 8 . Publishes the handler, authenticated identity, portal VUU session, and
284287 active ` connectionId ` .
285- 8 . Renders children only after authentication and portal connection succeed.
288+ 9 . Renders children only after authentication and portal connection succeed.
286289
287290The portal is therefore authenticated before ` PortalShell ` or any remote
288291feature is reachable.
@@ -516,28 +519,29 @@ required. Missing values produce a configuration error before token exchange.
516519
517520### Registry example
518521
519- Remote using the portal VUU server:
522+ Module admin uses the portal VUU server because module discovery is hosted by
523+ ` vuu-portal ` :
520524
521525``` json
522526{
523- "mfScope" : " UserAdmin " ,
524- "mfComponent" : " UserAdmin " ,
525- "mfUrl" : " http://localhost:5007 " ,
527+ "mfScope" : " moduleAdmin " ,
528+ "mfComponent" : " ModuleAdmin " ,
529+ "mfUrl" : " http://localhost:5008 " ,
526530 "vuu" : {
527531 "connectionId" : " portal"
528532 }
529533}
530534```
531535
532- Remote using a separate VUU server:
536+ User admin uses its standalone VUU server:
533537
534538``` json
535539{
536- "mfScope" : " moduleAdmin " ,
537- "mfComponent" : " ModuleAdmin " ,
538- "mfUrl" : " http://localhost:5008 " ,
540+ "mfScope" : " userAdmin " ,
541+ "mfComponent" : " UserAdmin " ,
542+ "mfUrl" : " http://localhost:5007 " ,
539543 "vuu" : {
540- "connectionId" : " module -admin" ,
544+ "connectionId" : " user -admin" ,
541545 "restUrl" : " https://localhost:8444/api/authn" ,
542546 "websocketUrl" : " wss://localhost:8092/websocket"
543547 }
@@ -572,7 +576,7 @@ sequenceDiagram
572576 Registry->>PortalREST: exchange identity token
573577 PortalREST-->>Registry: portal VUU session
574578 Registry->>PortalWS: connect(VUU token)
575- PortalWS-->>Registry: connected
579+ PortalWS-->>Registry: LOGIN_SUCCESS with moduleRegistry
576580 Registry-->>Identity: portal VUU session
577581 Identity-->>Browser: render portal runtime
578582```
@@ -686,6 +690,8 @@ because both identity and VUU tokens may be used as bearer tokens.
6866909 . Identity failure blocks the portal.
68769110 . Remote connection failure is isolated to the affected feature.
68869211 . Logout terminates the identity session and all VUU connections.
693+ 12 . Portal module discovery does not make a separate module-registry REST
694+ request.
689695
690696## Validation
691697
@@ -708,3 +714,4 @@ The implementation includes automated coverage for:
708714- connection-aware data-source construction
709715- remote failure isolation
710716- logout of all VUU connections and the Keycloak session
717+ - module registry propagation from portal ` LOGIN_SUCCESS `
0 commit comments