~ubuntu-branches/ubuntu/maverick/eucalyptus/maverick

« back to all changes in this revision

Viewing changes to .pc/06-UEC-webinterface.patch/clc/modules/www/src/main/java/edu/ucsb/eucalyptus/admin/client/EucalyptusWebInterface.java

  • Committer: Bazaar Package Importer
  • Author(s): Dave Walker (Daviey)
  • Date: 2010-07-21 17:27:10 UTC
  • mfrom: (1.1.38 upstream)
  • Revision ID: james.westby@ubuntu.com-20100721172710-7xv07dmdqgivc3t9
Tags: 2.0~bzr1211-0ubuntu1
* New major upstream version merge, 2.0 (r1211).
* debian/patches/:
  - 01-wsdl-stubs.patch, debian/wsdl.md5sums: wsdl stubs updated.
  - 02-Makefile.patch: Updated to reflect new code layout.
  - 07-local_support_euca_conf-in.patch: Updated to reflect new code layout.
  - 08-ubuntu-default-networking.patch: Refreshed.
  - 09-small-128-192MB.patch: Updated to point to new location.
  - 10-disable-iscsi.patch: Refreshed.
  - 11-state-cleanup-memleakfix.patch: Removed, fixed upstream.
  - 15-fix-default-ramdisk.patch: Updated to point to new location.
  - 16-kvm_libvirt_xml_default_use_kvm.patch: Updated to reflect changes.
  - 17-fix_walrus_OOM_errors.patch: Removed, fixed upstream.
  - 18-priv_security.patch: Updated to reflect upstream changes.
  - 20-brute-force-webui.patch: Updated to reflect upstream changes. 
  - 21-eucalyptus-1.7-with-gwt-1.6.4.patch: New patch, allows 
    eucalyptus-1.7 to be built against gwt 1.6.4. Based on patch courtesy 
    of Dmitrii Zagorodnov, upstream. (LP: #597330)
* debian/eucalyptus-java-common.links: 
  - Changed symlink for groovy, point to groovy.all.jar, making compatiable 
    with groovy versions >1.7. (LP: #595421)
  - Added ant.jar & jetty-rewrite-handler.jar as they are now required.
* debian/control
  - & debian/build-jars: Added libjavassist-java and libjetty-extra-java as 
    build dependencies.
  - Added libjetty-extra-java as a dependency of eucalyptus-java-common
* The binary resulting jar's have been renamed from eucalyptus-*-1.6.2.jar
  to eucalyptus-*-main.jar:    
  - debian/eucalyptus-cc.upstart
  - debian/eucalyptus-cloud.install
  - debian/eucalyptus-common.eucalyptus.upstart
  - debian/eucalyptus-java-common.install
  - debian/eucalyptus-network.upstart
  - debian/eucalyptus-sc.install
  - debian/eucalyptus-walrus.install
* debian/eucalyptus-java-common.install: New upstream jars that have been
  installed:
  - eucalyptus-db-hsqldb-ext-main.jar
  - eucalyptus-component-main.jar
* debian/control:
  - Updated Standards Version to 3.8.4 (no change)
  - Updated the upstream Homepage to: http://open.eucalyptus.com/
  - Changed Vcs-Bzr to reflect new location of Ubuntu hosted development branch.
  - Made the Build Dependency of groovy and the binary eucalyptus-java-common
    package depend on version >=1.7.

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
                }
485
485
                } else {
486
486
                        newUser = false;
487
 
                        oldPassword = userToEdit.getBCryptedPassword();
 
487
                        oldPassword = userToEdit.getPassword();
488
488
            isAdminChecked = userToEdit.isAdministrator();
489
489
            showSkipConfirmed = !userToEdit.isConfirmed();
490
490
            skipConfirmationChecked = userToEdit.isConfirmed();
545
545
        g1.setWidget( i, 0, new Label( "Password:" ) );
546
546
        g1.getCellFormatter().setHorizontalAlignment(i, 0, HasHorizontalAlignment.ALIGN_RIGHT);
547
547
        final PasswordTextBox cleartextPassword1_box = new PasswordTextBox();
548
 
                cleartextPassword1_box.setText (userToEdit.getBCryptedPassword());
 
548
                cleartextPassword1_box.setText (userToEdit.getPassword());
549
549
        cleartextPassword1_box.setWidth ("180");
550
550
                if ( (! admin && ! newUser ) || userToEdit.isAdministrator().booleanValue()) {
551
551
                        cleartextPassword1_box.setEnabled (false);
556
556
        g1.setWidget( i, 0, new Label( "Password, again:" ) );
557
557
        g1.getCellFormatter().setHorizontalAlignment(i, 0, HasHorizontalAlignment.ALIGN_RIGHT);
558
558
        final PasswordTextBox cleartextPassword2_box = new PasswordTextBox();
559
 
                cleartextPassword2_box.setText (userToEdit.getBCryptedPassword());
 
559
                cleartextPassword2_box.setText (userToEdit.getPassword());
560
560
        cleartextPassword2_box.setWidth("180");
561
561
                if ( ( ! admin && ! newUser ) || userToEdit.isAdministrator().booleanValue()) {
562
562
                        cleartextPassword2_box.setEnabled (false);
738
738
                            emailAddress_box.getText(),
739
739
                            encryptedPassword);
740
740
                    if ( admin ) {
741
 
                        userToSave.setIsAdministrator( userIsAdmin.isChecked());
 
741
                        userToSave.setAdministrator( userIsAdmin.isChecked());
742
742
                        if ( showSkipConfirmed ) {
743
743
                            previousSkipConfirmation = skipConfirmation.isChecked(); // remember value for the future
744
 
                            userToSave.setIsConfirmed(previousSkipConfirmation);
 
744
                            userToSave.setConfirmed(previousSkipConfirmation);
745
745
                        }
746
746
                    }
747
747
                    if ( telephoneNumber_box.getText().length() > 0 )
793
793
                                if (loggedInUser.getUserName().equals(userToSave.getUserName())) {
794
794
                                    loggedInUser.setRealName(userToSave.getRealName());
795
795
                                    loggedInUser.setEmail(userToSave.getEmail());
796
 
                                    loggedInUser.setBCryptedPassword(userToSave.getBCryptedPassword());
 
796
                                    loggedInUser.setPassword(userToSave.getPassword());
797
797
                                    loggedInUser.setTelephoneNumber(userToSave.getTelephoneNumber());
798
798
                                    loggedInUser.setAffiliation(userToSave.getAffiliation());
799
799
                                    loggedInUser.setProjectDescription(userToSave.getProjectDescription());
1537
1537
                                        Window.open(GWT.getModuleBaseURL() +
1538
1538
                                                "getX509?user=" + loggedInUser.getUserName() +
1539
1539
                                                "&keyValue=" + loggedInUser.getUserName() +
1540
 
                                                "&code=" + loggedInUser.getCertificateCode(),
 
1540
                                                "&code=" + loggedInUser.getToken(),
1541
1541
                                                "_self", "");
1542
1542
                                }
1543
1543
                });
2120
2120
        parent.add(vpanel);
2121
2121
        int nusers = usersList.size();
2122
2122
        if (nusers>0) {
2123
 
            Hyperlink sort_button = new Hyperlink( sortSymbol, true, null );
 
2123
            Anchor sort_button = new Anchor( sortSymbol, true);
2124
2124
                        sort_button.setStyleName ("euca-small-text");
2125
2125
                        sort_button.addClickListener( new ClickListener() {
2126
2126
                                public void onClick(Widget sender) {
2195
2195
                        }
2196
2196
                        ops.add(act_button);
2197
2197
 
2198
 
                                        Hyperlink del_button = new Hyperlink( "Delete", null );
 
2198
                                        Anchor del_button = new Anchor ( "Delete" );
2199
2199
                                        del_button.setStyleName ("euca-action-link");
2200
2200
                                        del_button.addClickListener( new ClickListener() {
2201
2201
                                                public void onClick(Widget sender) {
2486
2486
                        label_box.setStyleName("euca-greeting-pending");
2487
2487
 
2488
2488
                        loggedInUser.setEmail( emailAddress_box.getText() );
2489
 
                        loggedInUser.setBCryptedPassword(GWTUtils.md5(newCleartextPassword1_box.getText()));
 
2489
                        loggedInUser.setPassword(GWTUtils.md5(newCleartextPassword1_box.getText()));
2490
2490
 
2491
2491
                        EucalyptusWebBackend.App.getInstance().updateUserRecord(
2492
2492
                                        sessionId,