karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-1734) When logging into karaf with ssh as user karaf the prompt shows admin@root
Date Fri, 17 Aug 2012 09:28:37 GMT

     [ 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

        

Mime
View raw message