Skip to content

Get the authenticated user profiles

CAS in the cloud LELEU Jérôme edited this page Aug 9, 2022 · 1 revision

You can get the profile(s) of the authenticated user using the ProfileManager.

>> Read the documentation of the ProfileManager component.

Example:

WebContext context = new SpringWebfluxWebContext(exchange);
SessionStore sessionStore = new SpringWebfluxSessionStore(exchange);
ProfileManager profileManager = new ProfileManager(context, sessionStore);
Optional<UserProfile> profile = manager.getProfile();
Clone this wiki locally