directory-commits mailing list archives

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

URL: http://svn.apache.org/r1643391
Log:
o Added the Kerberos and ChangePassword Inet Address 
o Added the Kerberos Proxiable Tickets support

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

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=1643391&r1=1643390&r2=1643391&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 18:56:50 2014
@@ -89,15 +89,19 @@ public class KerberosServerPage extends
     private Text changePasswordPortText;
     private Text changePasswordAddressText;
     
+    // The basic Kerberos settings
     private Text primaryKdcRealmText;
     private Text kdcSearchBaseDnText;
     private CheckboxTableViewer encryptionTypesTableViewer;
+    
+    // The kerberos Tickets settings
     private Button verifyBodyChecksumCheckbox;
     private Button allowEmptyAddressesCheckbox;
     private Button allowForwardableAddressesCheckbox;
     private Button requirePreAuthByEncryptedTimestampCheckbox;
     private Button allowPostdatedTicketsCheckbox;
     private Button allowRenewableTicketsCheckbox;
+    private Button allowProxiableTicketsCheckbox;
     private Text maximumRenewableLifetimeText;
     private Text maximumTicketLifetimeText;
     private Text allowableClockSkewText;
@@ -300,6 +304,11 @@ public class KerberosServerPage extends
             getKdcServerBean().setKrbPostdatedAllowed( allowPostdatedTicketsCheckbox.getSelection()
);
         }
     };
+    
+    
+    /**
+     * The Allow Renewable Tickets listener
+     */
     private SelectionAdapter allowRenewableTicketsCheckboxListener = new SelectionAdapter()
     {
         public void widgetSelected( SelectionEvent e )
@@ -307,6 +316,20 @@ public class KerberosServerPage extends
             getKdcServerBean().setKrbRenewableAllowed( allowRenewableTicketsCheckbox.getSelection()
);
         }
     };
+    
+    
+    /**
+     * The Allow Proxiable Tickets listener
+     */
+    private SelectionAdapter allowProxiableTicketsCheckboxListener = new SelectionAdapter()
+    {
+        public void widgetSelected( SelectionEvent e )
+        {
+            getKdcServerBean().setKrbProxiableAllowed( allowProxiableTicketsCheckbox.getSelection()
);
+        }
+    };
+    
+    
     private ModifyListener maximumRenewableLifetimeTextListener = new ModifyListener()
     {
         public void modifyText( ModifyEvent e )
@@ -548,6 +571,12 @@ public class KerberosServerPage extends
         allowRenewableTicketsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true,
false, layout.numColumns,
             1 ) );
 
+        // Allow Proxiable Tickets Checkbox
+        allowProxiableTicketsCheckbox = toolkit.createButton( composite,
+            Messages.getString( "KerberosServerPage.AllowProxiableTickets" ), SWT.CHECK );
//$NON-NLS-1$
+        allowProxiableTicketsCheckbox.setLayoutData( new GridData( SWT.FILL, SWT.NONE, true,
false, layout.numColumns,
+            1 ) );
+
         // Max Renewable Lifetime Text
         toolkit.createLabel( composite, Messages.getString( "KerberosServerPage.MaxRenewableLifetime"
) ); //$NON-NLS-1$
         maximumRenewableLifetimeText = createIntegerText( toolkit, composite );
@@ -611,6 +640,7 @@ public class KerberosServerPage extends
             setSelection( requirePreAuthByEncryptedTimestampCheckbox, kdcServerBean.isKrbPaEncTimestampRequired()
);
             setSelection( allowPostdatedTicketsCheckbox, kdcServerBean.isKrbPostdatedAllowed()
);
             setSelection( allowRenewableTicketsCheckbox, kdcServerBean.isKrbRenewableAllowed()
);
+            setSelection( allowProxiableTicketsCheckbox, kdcServerBean.isKrbProxiableAllowed()
);
             setText( maximumRenewableLifetimeText, Long.toString( kdcServerBean.getKrbMaximumRenewableLifetime()
) );
             setText( maximumTicketLifetimeText, Long.toString( kdcServerBean.getKrbMaximumTicketLifetime()
) );
             setText( allowableClockSkewText, Long.toString( kdcServerBean.getKrbAllowableClockSkew()
) );
@@ -685,6 +715,10 @@ public class KerberosServerPage extends
         addDirtyListener( allowRenewableTicketsCheckbox );
         addSelectionListener( allowRenewableTicketsCheckbox, allowRenewableTicketsCheckboxListener
);
 
+        // Allow Proxiable Tickets Checkbox
+        addDirtyListener( allowProxiableTicketsCheckbox );
+        addSelectionListener( allowProxiableTicketsCheckbox, allowProxiableTicketsCheckboxListener
);
+
         // Maximum Renewable Lifetime Text
         addDirtyListener( maximumRenewableLifetimeText );
         addModifyListener( maximumRenewableLifetimeText, maximumRenewableLifetimeTextListener
);
@@ -764,6 +798,10 @@ public class KerberosServerPage extends
         removeDirtyListener( allowRenewableTicketsCheckbox );
         removeSelectionListener( allowRenewableTicketsCheckbox, allowRenewableTicketsCheckboxListener
);
 
+        // Allow Proxiable Tickets Checkbox
+        removeDirtyListener( allowProxiableTicketsCheckbox );
+        removeSelectionListener( allowProxiableTicketsCheckbox, allowProxiableTicketsCheckboxListener
);
+
         // Maximum Renewable Lifetime Text
         removeDirtyListener( maximumRenewableLifetimeText );
         removeModifyListener( maximumRenewableLifetimeText, maximumRenewableLifetimeTextListener
);

Modified: directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
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/messages.properties?rev=1643391&r1=1643390&r2=1643391&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
(original)
+++ directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages.properties
Fri Dec  5 18:56:50 2014
@@ -26,6 +26,7 @@ KerberosServerPage.AllowableClockSkew=Al
 KerberosServerPage.AllowEmptyAddresses=Allow Empty Addresses
 KerberosServerPage.AllowForwadableAddresses=Allow Forwardable Addresses
 KerberosServerPage.AllowPostdatedTickets=Allow Postdated Tickets
+KerberosServerPage.AllowProxiableTickets=Allow Proxiable Tickets
 KerberosServerPage.AllowRenewableTickets=Allow Renewable Tickets
 KerberosServerPage.AtLeastOneEncryptionTypeMustBeSelected=At least one encryption type must
be selected.
 KerberosServerPage.EnableKerberosChangePassword=Enable Kerberos Change Password Server

Modified: directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
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/messages_de.properties?rev=1643391&r1=1643390&r2=1643391&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
(original)
+++ directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_de.properties
Fri Dec  5 18:56:50 2014
@@ -26,6 +26,7 @@ KerberosServerPage.AllowableClockSkew=Er
 KerberosServerPage.AllowEmptyAddresses=Leere Adressen erlauben
 KerberosServerPage.AllowForwadableAddresses=Weiterreichbare Adressen erlauben
 KerberosServerPage.AllowPostdatedTickets=Nachdatierte Tickets erlauben
+KerberosServerPage.AllowProxiableTickets=(EN)Allow Proxiable Tickets
 KerberosServerPage.AllowRenewableTickets=Erneuerbare Tickets erlauben
 KerberosServerPage.AtLeastOneEncryptionTypeMustBeSelected=Bitte zumindest ein Verschl\u00FCsselungsverfahren
ausw\u00E4hlen.
 KerberosServerPage.EnableKerberosChangePassword=Kerberos Change Password Server aktivieren

Modified: directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
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/messages_fr.properties?rev=1643391&r1=1643390&r2=1643391&view=diff
==============================================================================
--- directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
(original)
+++ directory/studio/branches/studio-tycho/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/messages_fr.properties
Fri Dec  5 18:56:50 2014
@@ -26,6 +26,7 @@ KerberosServerPage.AllowableClockSkew=D�
 KerberosServerPage.AllowEmptyAddresses=Autoriser les adresses vides
 KerberosServerPage.AllowForwadableAddresses=Autoriser le renvoi d'adresses
 KerberosServerPage.AllowPostdatedTickets=Autoriser les tickets post-datés
+KerberosServerPage.AllowProxiableTickets=Autoriser les tickets délégués
 KerberosServerPage.AllowRenewableTickets=Autoriser les tickets renouvelables
 KerberosServerPage.AtLeastOneEncryptionTypeMustBeSelected=Au moins un type d'encryption doit
être sélectionné.
 KerberosServerPage.EnableKerberosChangePassword=Activer le serveur Kerberos Change Password



Mime
View raw message