| | |
| | | * |
| | | * |
| | | * Copyright 2008-2009 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.ui; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public void toBeDisplayed(boolean visible) |
| | | { |
| | | super.toBeDisplayed(visible); |
| | |
| | | errors.add(INFO_NOT_A_DIRECTORY_MANAGER_DN.get()); |
| | | } |
| | | |
| | | if ("".equals(pwd.getPassword().length == 0)) |
| | | if (pwd.getPassword().length == 0) |
| | | { |
| | | pwdInvalid = true; |
| | | errors.add(INFO_EMPTY_PWD.get()); |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public void cancelClicked() |
| | | { |
| | | setPrimaryValid(dnLabel); |