/* (non-Javadoc)
* @see org.apache.directory.studio.apacheds.configuration.editor.SavableWizardPage#save()
*/
public void save()
{
ServerConfigurationV153 configuration = ( ServerConfigurationV153 ) ( ( ServerConfigurationEditor ) getEditor() )
.getServerConfiguration();
configuration.setEnableLdap( enableLdapCheckbox.getSelection() );
configuration.setLdapPort( Integer.parseInt( ldapPortText.getText() ) );
configuration.setEnableLdaps( enableLdapsCheckbox.getSelection() );
configuration.setLdapsPort( Integer.parseInt( ldapsPortText.getText() ) );
configuration.setEnableKerberos( enableKerberosCheckbox.getSelection() );
configuration.setKerberosPort( Integer.parseInt( kerberosPortText.getText() ) );
configuration.setEnableNtp( enableNtpCheckbox.getSelection() );
configuration.setNtpPort( Integer.parseInt( ntpPortText.getText() ) );
configuration.setEnableDns( enableDnsCheckbox.getSelection() );
configuration.setDnsPort( Integer.parseInt( dnsPortText.getText() ) );
configuration.setEnableChangePassword( enableChangePasswordCheckbox.getSelection() );
configuration.setChangePasswordPort( Integer.parseInt( changePasswordPortText.getText() ) );
configuration.setMaxTimeLimit( Integer.parseInt( maxTimeLimitText.getText() ) );
configuration.setMaxSizeLimit( Integer.parseInt( maxSizeLimitText.getText() ) );
configuration.setSynchronizationPeriod( Long.parseLong( synchPeriodText.getText() ) );
configuration.setMaxThreads( Integer.parseInt( maxThreadsText.getText() ) );
configuration.setAllowAnonymousAccess( allowAnonymousAccessCheckbox.getSelection() );
configuration.setEnableAccessControl( enableAccesControlCheckbox.getSelection() );
configuration.setDenormalizeOpAttr( denormalizeOpAttrCheckbox.getSelection() );
}