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