Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-1734

When logging into karaf with ssh as user karaf the prompt shows admin@root

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: karaf
    • Labels:
      None

      Description

      When logging in using ssh with user karaf the prompt should show karaf@root not admin@root.

      The problem seems to be that the subject contains the RolePrincipal as well as the UserPrincipal. We just take the first one without checking the type.

      I wonder if we should just select the UserPrincipal objects. Does that make sense? The use principal class is specific to karaf so I am not sure if it would work with any auth method.

        Attachments

          Activity

            People

            • Assignee:
              chris@die-schneider.net Christian Schneider
              Reporter:
              chris@die-schneider.net Christian Schneider
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: