Package com.onec.ui
Class CurrentUserResolver
java.lang.Object
com.onec.ui.CurrentUserResolver
Resolves the authenticated principal to a domain catalog record via the
configured
UiIdentityLink (e.g. login -> Employee.email), so persona
UIs can greet and scope to "the current person". Falls back to the raw
username when no link is configured or no record matches.-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCurrentUserResolver(UiLayout layout, MetadataRegistry registry, org.jdbi.v3.core.Jdbi jdbi) -
Method Summary
-
Constructor Details
-
CurrentUserResolver
-
-
Method Details
-
resolve
-