[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-directory-commits
Subject: [Fedora-directory-commits]
From: rmeggins () fedoraproject ! org (Richard Allen Megginson)
Date: 2009-03-25 22:25:29
Message-ID: 20090325222529.E4B9770133 () cvs1 ! fedora ! phx ! redhat ! com
[Download RAW message or body]
Author: rmeggins
Update of /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/panel/replication
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv965/directoryconsole/src/com/netscape/admin/dirserv/panel/replication
Modified Files:
AgreementDestinationPanel.java
Log Message:
Resolves: bug 483660
Bug Description: Replication and Sync agreement edit should not allow change to/from \
LDAPS Reviewed by: nhosoi (Thanks!)
Fix Description: If simple auth was being used, the simple auth radio button was not \
selected. This patch makes sure it is selected if it needs to be. Platforms tested: \
RHEL5 Flag Day: no
Doc impact: no
Index: AgreementDestinationPanel.java
===================================================================
RCS file: /cvs/dirsec/directoryconsole/src/com/netscape/admin/dirserv/panel/replication/AgreementDestinationPanel.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- AgreementDestinationPanel.java 3 Mar 2009 01:24:26 -0000 1.3
+++ AgreementDestinationPanel.java 25 Mar 2009 22:25:27 -0000 1.4
@@ -562,9 +562,11 @@
_digestAuth.setSelected(_agreement.getUseDigestAuth());
_digestAuthDSEntry.fakeInitModel (_agreement.getUseDigestAuth() ? "on" : \
"off"); }
+ boolean issimple = !_agreement.getUseSSLAuth() && \
!_agreement.getUseDigestAuth() && !_agreement.getUseGSSAPIAuth(); if (_simpAuth != \
null) {
- _simpAuth.setEnabled(!_agreement.getUseSSLAuth());
- _simpAuthDSEntry.fakeInitModel (_agreement.getUseSSLAuth() ? "on" : "off");
+ _simpAuth.setEnabled(issimple);
+ _simpAuth.setSelected(issimple);
+ _simpAuthDSEntry.fakeInitModel (issimple ? "on" : "off");
}
if(_agreement.getAgreementType() == ReplicationAgreement.AGREEMENT_TYPE_AD){
--
Fedora-directory-commits mailing list
Fedora-directory-commits@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic