[izpack-users] Masking of characters for password

Mandeep Saini Mandeep.Saini at dante.org.uk
Tue Jan 16 11:54:31 CET 2007


Hi Sonal,

Try this in userInputSpec.xml, you can ignore validator field if you 
dont need to perform any sort of validation. But PWDValidator is my own 
class it is not something from IzPack.

<field type="password" variable="interDBPassword">
             <description align="left"/>
             <spec>
                 <pwd txt="Enter database password: " size="30"/>
		<pwd txt="Retype the database password:" size="30"/>
             </spec>
<validator class="net.geant2.installer.PWDValidator" txt="Verify 
password, both values of the password must match and must not be null!" 
id="error.label.1"/>
</field>

Regards
Mandeep

Sonal Deshpande wrote:
> 
> Hi,
> 
> I have to take a password input in my installer.
> Is there any control(Textbox which will show character masked as * or 
> any other special character) for password?
> 
> Regards
> 
> Sonal B Deshpande
> Tata Consultancy Services
> Mailto: sonal.deshpande at tcs.com
> Website: http://www.tcs.com
> 
> =====-----=====-----=====
> Notice: The information contained in this e-mail
> message and/or attachments to it may contain 
> confidential or privileged information. If you are 
> not the intended recipient, any dissemination, use, 
> review, distribution, printing or copying of the 
> information contained in this e-mail message 
> and/or attachments to it are strictly prohibited. If 
> you have received this communication in error, 
> please notify us by reply e-mail or telephone and 
> immediately and permanently delete the message 
> and any attachments. Thank you
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> izpack-users mailing list
> izpack-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/izpack-users




More information about the izpack-users mailing list