You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/07/10 01:11:09 UTC

[jira] Resolved: (GERONIMO-478) Deployer must not echo password when prompting

     [ http://issues.apache.org/jira/browse/GERONIMO-478?page=all ]
     
Aaron Mulder resolved GERONIMO-478:
-----------------------------------

    Fix Version: 1.0-M4
     Resolution: Fixed
      Assign To: Aaron Mulder

The attached patch is based heavily on forum posts.  I'm not sure what the issues might be in applying the Apache license to it.  I implented a similar (if somewhat less generic) feature from scratch.

I'm not ready to move to a native-code based feature such as JLine, though it's probably worth additional investigation.

I don't know how this will behave with the up arrow on Windows, but at least it achieves the primary goal of not echoing characters while they are typed.  If that doesn't solve the Windows issue, there's probably nothing to do except investigate native code.

> Deployer must not echo password when prompting
> ----------------------------------------------
>
>          Key: GERONIMO-478
>          URL: http://issues.apache.org/jira/browse/GERONIMO-478
>      Project: Geronimo
>         Type: Bug
>   Components: deployment
>     Reporter: Jeremy Boynes
>     Assignee: Aaron Mulder
>      Fix For: 1.0-M4
>  Attachments: geronimo-478.patch, geronimo-478.patch
>
> When no password is specified on the command line the deployer prompts the user for one.
> When this is being entered it is echoed onto the screen.
> On a windows machine the value entered is also displayed if up-arrow is pressed when being prompted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Resolved: (GERONIMO-478) Deployer must not echo password when prompting

Posted by "Geir Magnusson Jr." <ge...@apache.org>.
ROTFL

Or hope that it crashes and erases the cmd line buffer.

geir

On Jul 9, 2005, at 9:08 PM, Dain Sundstrom wrote:

> We could detect we are on windows and pop up a dialog box.... it is  
> windows after all.
>
> -dain
>
> On Jul 9, 2005, at 4:11 PM, Aaron Mulder (JIRA) wrote:
>
>
>>      [ http://issues.apache.org/jira/browse/GERONIMO-478?page=all ]
>>
>> Aaron Mulder resolved GERONIMO-478:
>> -----------------------------------
>>
>>     Fix Version: 1.0-M4
>>      Resolution: Fixed
>>       Assign To: Aaron Mulder
>>
>> The attached patch is based heavily on forum posts.  I'm not sure  
>> what the issues might be in applying the Apache license to it.  I  
>> implented a similar (if somewhat less generic) feature from scratch.
>>
>> I'm not ready to move to a native-code based feature such as  
>> JLine, though it's probably worth additional investigation.
>>
>> I don't know how this will behave with the up arrow on Windows,  
>> but at least it achieves the primary goal of not echoing  
>> characters while they are typed.  If that doesn't solve the  
>> Windows issue, there's probably nothing to do except investigate  
>> native code.
>>
>>
>>
>>> Deployer must not echo password when prompting
>>> ----------------------------------------------
>>>
>>>          Key: GERONIMO-478
>>>          URL: http://issues.apache.org/jira/browse/GERONIMO-478
>>>      Project: Geronimo
>>>         Type: Bug
>>>   Components: deployment
>>>     Reporter: Jeremy Boynes
>>>     Assignee: Aaron Mulder
>>>      Fix For: 1.0-M4
>>>  Attachments: geronimo-478.patch, geronimo-478.patch
>>>
>>> When no password is specified on the command line the deployer  
>>> prompts the user for one.
>>> When this is being entered it is echoed onto the screen.
>>> On a windows machine the value entered is also displayed if up- 
>>> arrow is pressed when being prompted.
>>>
>>>
>>
>> -- 
>> This message is automatically generated by JIRA.
>> -
>> If you think it was sent incorrectly contact one of the  
>> administrators:
>>    http://issues.apache.org/jira/secure/Administrators.jspa
>> -
>> For more information on JIRA, see:
>>    http://www.atlassian.com/software/jira
>>
>>
>
>

-- 
Geir Magnusson Jr                                  +1-203-665-6437
geirm@apache.org



Re: [jira] Resolved: (GERONIMO-478) Deployer must not echo password when prompting

Posted by Dain Sundstrom <da...@iq80.com>.
We could detect we are on windows and pop up a dialog box.... it is  
windows after all.

-dain

On Jul 9, 2005, at 4:11 PM, Aaron Mulder (JIRA) wrote:

>      [ http://issues.apache.org/jira/browse/GERONIMO-478?page=all ]
>
> Aaron Mulder resolved GERONIMO-478:
> -----------------------------------
>
>     Fix Version: 1.0-M4
>      Resolution: Fixed
>       Assign To: Aaron Mulder
>
> The attached patch is based heavily on forum posts.  I'm not sure  
> what the issues might be in applying the Apache license to it.  I  
> implented a similar (if somewhat less generic) feature from scratch.
>
> I'm not ready to move to a native-code based feature such as JLine,  
> though it's probably worth additional investigation.
>
> I don't know how this will behave with the up arrow on Windows, but  
> at least it achieves the primary goal of not echoing characters  
> while they are typed.  If that doesn't solve the Windows issue,  
> there's probably nothing to do except investigate native code.
>
>
>> Deployer must not echo password when prompting
>> ----------------------------------------------
>>
>>          Key: GERONIMO-478
>>          URL: http://issues.apache.org/jira/browse/GERONIMO-478
>>      Project: Geronimo
>>         Type: Bug
>>   Components: deployment
>>     Reporter: Jeremy Boynes
>>     Assignee: Aaron Mulder
>>      Fix For: 1.0-M4
>>  Attachments: geronimo-478.patch, geronimo-478.patch
>>
>> When no password is specified on the command line the deployer  
>> prompts the user for one.
>> When this is being entered it is echoed onto the screen.
>> On a windows machine the value entered is also displayed if up- 
>> arrow is pressed when being prompted.
>>
>
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the  
> administrators:
>    http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
>