directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1643401 - /directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Date Fri, 05 Dec 2014 19:05:53 GMT
Author: elecharny
Date: Fri Dec  5 19:05:52 2014
New Revision: 1643401

URL: http://svn.apache.org/r1643401
Log:
Correctly enable and disable the Kerberos and ChangePassword address

Modified:
    directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java

Modified: directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java?rev=1643401&r1=1643400&r2=1643401&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
(original)
+++ directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Fri Dec  5 19:05:52 2014
@@ -607,13 +607,17 @@ public class KerberosServerPage extends
             KdcServerBean kdcServerBean = getKdcServerBean();
             setSelection( enableKerberosCheckbox, kdcServerBean.isEnabled() );
             setEnabled( kerberosPortText, enableKerberosCheckbox.getSelection() );
+            setEnabled( kerberosAddressText, enableKerberosCheckbox.getSelection() );
             setText( kerberosPortText, Integer.toString( getKdcServerTransportBean().getSystemPort()
) );
+            setText( kerberosAddressText, getKdcServerTransportBean().getTransportAddress()
);
 
             // Change Password Checkbox
             ChangePasswordServerBean changePasswordServerBean = getChangePasswordServerBean();
             setSelection( enableChangePasswordCheckbox, changePasswordServerBean.isEnabled()
);
             setEnabled( changePasswordPortText, enableChangePasswordCheckbox.getSelection()
);
+            setEnabled( changePasswordAddressText, enableChangePasswordCheckbox.getSelection()
);
             setText( changePasswordPortText, Integer.toString( getChangePasswordServerTransportBean().getSystemPort()
) );
+            setText( changePasswordAddressText, getChangePasswordServerTransportBean().getTransportAddress()
);
 
             // Kerberos Settings
             setText( primaryKdcRealmText, kdcServerBean.getKrbPrimaryRealm() );



Mime
View raw message