directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r696342 - in /directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor: v152/AuthenticationPage.java v153/AuthenticationPage.java v154/AuthenticationPage.java
Date Wed, 17 Sep 2008 15:28:34 GMT
Author: pamarcelot
Date: Wed Sep 17 08:28:33 2008
New Revision: 696342

URL: http://svn.apache.org/viewvc?rev=696342&view=rev
Log:
Fix DIRSTUDIO-394 (SASL Realms are not correctly saved in the 1.5.2 and 1.5.3 Apache DS Configuration
Editor).

Modified:
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/AuthenticationPage.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/AuthenticationPage.java
    directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/AuthenticationPage.java

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/AuthenticationPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/AuthenticationPage.java?rev=696342&r1=696341&r2=696342&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/AuthenticationPage.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v152/AuthenticationPage.java
Wed Sep 17 08:28:33 2008
@@ -548,6 +548,10 @@
         }
 
         // SASL Realms
-        configuration.setSaslRealms( saslRealms );
+        if ( ( saslRealmsTableViewer != null ) && ( saslRealmsTableViewer.getTable()
!= null )
+            && ( !saslRealmsTableViewer.getTable().isDisposed() ) )
+        {
+            configuration.setSaslRealms( saslRealms );
+        }
     }
 }

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/AuthenticationPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/AuthenticationPage.java?rev=696342&r1=696341&r2=696342&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/AuthenticationPage.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v153/AuthenticationPage.java
Wed Sep 17 08:28:33 2008
@@ -613,6 +613,10 @@
         }
 
         // SASL Realms
-        configuration.setSaslRealms( saslRealms );
+        if ( ( saslRealmsTableViewer != null ) && ( saslRealmsTableViewer.getTable()
!= null )
+            && ( !saslRealmsTableViewer.getTable().isDisposed() ) )
+        {
+            configuration.setSaslRealms( saslRealms );
+        }
     }
 }

Modified: directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/AuthenticationPage.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/AuthenticationPage.java?rev=696342&r1=696341&r2=696342&view=diff
==============================================================================
--- directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/AuthenticationPage.java
(original)
+++ directory/studio/trunk/apacheds-configuration/src/main/java/org/apache/directory/studio/apacheds/configuration/editor/v154/AuthenticationPage.java
Wed Sep 17 08:28:33 2008
@@ -613,6 +613,10 @@
         }
 
         // SASL Realms
-        configuration.setSaslRealms( saslRealms );
+        if ( ( saslRealmsTableViewer != null ) && ( saslRealmsTableViewer.getTable()
!= null )
+            && ( !saslRealmsTableViewer.getTable().isDisposed() ) )
+        {
+            configuration.setSaslRealms( saslRealms );
+        }
     }
 }



Mime
View raw message