We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can get the profile of the authenticated user using the ProfileManager (and the SparkWebContext).
ProfileManager
SparkWebContext
>> Read the documentation of the ProfileManager component.
Example:
WebContext context = new SparkWebContext(request, response); ProfileManager manager = new ProfileManager(context); Optional<UserProfile> profile = manager.getProfile();