@GetMapping(path = "/users/{username}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Get all single sign-on sessions for username. " + MESSAGE_FEATURE_SUPPORTED_TICKET_REGISTRY,
        parameters = @Parameter(name = "username", required = true, in = ParameterIn.PATH, description = "The username to look up"))
    public Map<String, Object> getSsoSessionsForUser(
        @PathVariable final String username) {
        return getSsoSessions(new SsoSessionsRequest().withUsername(username));
    }
Gets sso sessions for user.

@param username the username
@return the sso sessions for user
support/cas-server-support-reports-core/src/main/java/org/apereo/cas/web/report/SingleSignOnSessionsEndpoint.java