This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
-go to SJS registration wizard -set platform location and choose Create personal domain -go to the last panel (the one where user is setting username/password for admin) -set admin username: "admin", password: "admin" and press finish => domain creation will fail because password.lenght() < 8 I think there should be some check for password's lenght directly in the wizard as we know that admin password must have at least 8 characters
easy fix
Checking in Bundle.properties; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.2.8.4.2.8; previous revision: 1.2.8.4.2.7 done Checking in AddDomainNamePasswordPanel.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainNamePasswordPanel.java,v <-- AddDomainNamePasswordPanel.java new revision: 1.1.2.3.2.2; previous revision: 1.1.2.3.2.1 done
sorry, but fixed only partially - there isn't check for an empty password
Note: the user is allowed to leave the admin username and password blank in the wizard. The user is prompted for the name and password later, right before the instance/domain is created. If the user enters the values in this "second query", the values are not written into their user directory. [security] Checking in j2ee/ui/Bundle.properties; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/Bundle.properties,v <-- Bundle.properties new revision: 1.2.8.4.2.9; previous revision: 1.2.8.4.2.8 done Checking in j2ee/ui/AddDomainWizardIterator.java; /cvs/serverplugins/sun/appsrv81/src/org/netbeans/modules/j2ee/sun/ide/j2ee/ui/AddDomainWizardIterator.java,v <-- AddDomainWizardIterator.java new revision: 1.2.2.3.2.8; previous revision: 1.2.2.3.2.7 done
This is better, thanks :)