directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1072049 - /directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Date Fri, 18 Feb 2011 16:33:37 GMT
Author: pamarcelot
Date: Fri Feb 18 16:33:36 2011
New Revision: 1072049

URL: http://svn.apache.org/viewvc?rev=1072049&view=rev
Log:
Formatting.

Modified:
    directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java

Modified: directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
URL: http://svn.apache.org/viewvc/directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java?rev=1072049&r1=1072048&r2=1072049&view=diff
==============================================================================
--- directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
(original)
+++ directory/studio/branches/m1/plugins/connection.core/src/main/java/org/apache/directory/studio/connection/core/io/api/DirectoryApiConnectionWrapper.java
Fri Feb 18 16:33:36 2011
@@ -375,23 +375,23 @@ public class DirectoryApiConnectionWrapp
                                 switch ( connection.getConnectionParameter().getKrb5Configuration()
)
                                 {
                                     case FILE:
-                                    gssApiRequest.setKrb5ConfFilePath( connection.getConnectionParameter()
-                                        .getKrb5ConfigurationFile() );
-                                    break;
-                                case MANUAL:
-                                    gssApiRequest.setRealmName( connection.getConnectionParameter().getKrb5Realm()
);
-                                    gssApiRequest.setKdcHost( connection.getConnectionParameter().getKrb5KdcHost()
);
-                                    gssApiRequest.setKdcPort( connection.getConnectionParameter().getKrb5KdcPort()
);
-                                    break;
+                                        gssApiRequest.setKrb5ConfFilePath( connection.getConnectionParameter()
+                                            .getKrb5ConfigurationFile() );
+                                        break;
+                                    case MANUAL:
+                                        gssApiRequest.setRealmName( connection.getConnectionParameter().getKrb5Realm()
);
+                                        gssApiRequest.setKdcHost( connection.getConnectionParameter().getKrb5KdcHost()
);
+                                        gssApiRequest.setKdcPort( connection.getConnectionParameter().getKrb5KdcPort()
);
+                                        break;
+                                }
                             }
+
+                            bindResponse = ldapConnection.bind( gssApiRequest );
                         }
 
-                        bindResponse = ldapConnection.bind( gssApiRequest );
+                        checkResponse( bindResponse );
                     }
-
-                    checkResponse( bindResponse );
-                }
-                catch ( Exception e )
+                    catch ( Exception e )
                     {
                         exception = e;
                     }



Mime
View raw message