You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2012/08/16 11:39:38 UTC

[jira] [Created] (KARAF-1734) When logging into karaf with ssh as user karaf the prompt shows admin@root

Christian Schneider created KARAF-1734:
------------------------------------------

             Summary: When logging into karaf with ssh as user karaf the prompt shows admin@root
                 Key: KARAF-1734
                 URL: https://issues.apache.org/jira/browse/KARAF-1734
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 3.0.0
            Reporter: Christian Schneider
             Fix For: 3.0.0


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (KARAF-1734) When logging into karaf with ssh as user karaf the prompt shows admin@root

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider reassigned KARAF-1734:
------------------------------------------

    Assignee: Christian Schneider
    
> When logging into karaf with ssh as user karaf the prompt shows admin@root
> --------------------------------------------------------------------------
>
>                 Key: KARAF-1734
>                 URL: https://issues.apache.org/jira/browse/KARAF-1734
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (KARAF-1734) When logging into karaf with ssh as user karaf the prompt shows admin@root

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Schneider resolved KARAF-1734.
----------------------------------------

    Resolution: Fixed

Closing this for now. The fix to filter for UserPrincipal works at the moment. Please reopen if there is a better solution.
                
> When logging into karaf with ssh as user karaf the prompt shows admin@root
> --------------------------------------------------------------------------
>
>                 Key: KARAF-1734
>                 URL: https://issues.apache.org/jira/browse/KARAF-1734
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-shell
>    Affects Versions: 3.0.0
>            Reporter: Christian Schneider
>            Assignee: Christian Schneider
>             Fix For: 3.0.0
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira