You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by SapnaB <sa...@gmail.com> on 2014/07/24 06:58:34 UTC
Read password securely from Karaf CLI
Hi All,
I have a requirement to read the clients' userid and password securely from
the Karaf shell. Is there a way to do this?
I have gone through the
org.apache.karaf.shell.console.impl.jline.ConsoleImpl class, but cant
understand the usage and constructor parameters.
Can someone please point me to an example code?
Thanks,
Sapna
--
View this message in context: http://karaf.922171.n3.nabble.com/Read-password-securely-from-Karaf-CLI-tp4034419.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.
Re: Read password securely from Karaf CLI
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
No sure to fully understand what you need.
Why not just using the karaf JAAS realm ?
By clients userid/password, you mean prompting for the userid/password
or using the one used to logon console ?
Regards
JB
On 07/24/2014 06:58 AM, SapnaB wrote:
> Hi All,
>
> I have a requirement to read the clients' userid and password securely from
> the Karaf shell. Is there a way to do this?
> I have gone through the
> org.apache.karaf.shell.console.impl.jline.ConsoleImpl class, but cant
> understand the usage and constructor parameters.
> Can someone please point me to an example code?
>
> Thanks,
> Sapna
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.com/Read-password-securely-from-Karaf-CLI-tp4034419.html
> Sent from the Karaf - Dev mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com