directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1038038 - /directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Date Tue, 23 Nov 2010 10:35:43 GMT
Author: pamarcelot
Date: Tue Nov 23 10:35:42 2010
New Revision: 1038038

URL: http://svn.apache.org/viewvc?rev=1038038&view=rev
Log:
Added new Modify Listeners for missing Kerberos configuration items.

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

Modified: directory/studio/trunk/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/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java?rev=1038038&r1=1038037&r2=1038038&view=diff
==============================================================================
--- directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
(original)
+++ directory/studio/trunk/plugins/apacheds.configuration.v2/src/main/java/org/apache/directory/studio/apacheds/configuration/v2/editor/KerberosServerPage.java
Tue Nov 23 10:35:42 2010
@@ -429,9 +429,25 @@ public class KerberosServerPage extends 
 
         // Maximum Renewable Lifetime Text
         addDirtyListener( maximumRenewableLifetimeText );
+        maximumRenewableLifetimeText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                getKdcServerBean().setKrbMaximumRenewableLifetime(
+                    Integer.parseInt( maximumRenewableLifetimeText.getText() ) );
+            }
+        } );
 
         // Maximum Ticket Lifetime Text
         addDirtyListener( maximumTicketLifetimeText );
+        maximumTicketLifetimeText.addModifyListener( new ModifyListener()
+        {
+            public void modifyText( ModifyEvent e )
+            {
+                getKdcServerBean()
+                    .setKrbMaximumTicketLifetime( Integer.parseInt( maximumTicketLifetimeText.getText()
) );
+            }
+        } );
     }
 
 



Mime
View raw message