Karaf
  1. Karaf
  2. KARAF-132

The user name for the main console session is always "karaf"

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 4.0.0.M3
    • Component/s: karaf-shell
    • Labels:
      None

      Description

      See org.apache.karaf.shell.console.jline.ConsoleFactory#start

                  CommandSession session = console.getSession();
                  session.put("USER", "karaf");
                  session.put("APPLICATION", System.getProperty("karaf.name", "root"));
                  session.put("LINES", Integer.toString(terminal.getTerminalHeight()));
                  session.put("COLUMNS", Integer.toString(terminal.getTerminalWidth()));
                  session.put(".jline.terminal", terminal);
                  new Thread(console, "Karaf Shell Console Thread").start();
      
      1. patchfile.txt
        0.9 kB
        Tracy Snell

        Activity

        Guillaume Nodet made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Assignee Jean-Baptiste Onofré [ jbonofre ] Guillaume Nodet [ gnt ]
        Fix Version/s 3.0.2 [ 12326261 ]
        Resolution Fixed [ 1 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.0.2 [ 12326261 ]
        Fix Version/s 3.0.1 [ 12316945 ]
        Jean-Baptiste Onofré made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Andreas Pieber made changes -
        Fix Version/s 3.0.1 [ 12316945 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 3.1.0 [ 12316946 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Fix Version/s 2.2.6 [ 12319142 ]
        Jean-Baptiste Onofré made changes -
        Fix Version/s 2.2.6 [ 12319142 ]
        Fix Version/s 3.0.0 [ 12316040 ]
        Affects Version/s 2.2.4 [ 12317342 ]
        Component/s karaf-shell [ 12313723 ]
        Jean-Baptiste Onofré made changes -
        Assignee Jean-Baptiste Onofré [ jbonofre ]
        Guillaume Nodet made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Łukasz Dywicki made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Tracy Snell made changes -
        Field Original Value New Value
        Attachment patchfile.txt [ 12467118 ]
        Guillaume Nodet created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Guillaume Nodet
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development