You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2017/08/05 02:50:50 UTC

svn commit: r1804169 - /directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java

Author: elecharny
Date: Sat Aug  5 02:50:50 2017
New Revision: 1804169

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

Modified:
    directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java

Modified: directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1804169&r1=1804168&r2=1804169&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java (original)
+++ directory/apacheds/branches/apacheds-value/interceptors/authn/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java Sat Aug  5 02:50:50 2017
@@ -423,8 +423,8 @@ public class AuthenticationInterceptor e
         if ( ( levelAuthenticators == null ) || levelAuthenticators.isEmpty() )
         {
             // No authenticators associated with this level : get out
-            throw new LdapAuthenticationException( "Cannot Bind for Dn " +
-         bindDn.getName() + ", no authenticator for the requested level " + level );
+            throw new LdapAuthenticationException( "Cannot Bind for Dn "
+                + bindDn.getName() + ", no authenticator for the requested level " + level );
         }
 
         if ( levelAuthenticators.size() == 1 )
@@ -440,8 +440,8 @@ public class AuthenticationInterceptor e
                 else
                 {
                     throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM,
-                        "Cannot Bind for Dn " + bindDn.getName() + 
-                        ", its not a descendant of the authenticator base DN '" + authenticator.getBaseDn() + "'" );
+                        "Cannot Bind for Dn " + bindDn.getName() 
+                        + ", its not a descendant of the authenticator base DN '" + authenticator.getBaseDn() + "'" );
                 }
             }
         }
@@ -498,8 +498,8 @@ public class AuthenticationInterceptor e
             // This is a case where the Bind request contains a Dn, but no password.
             // We don't check the Dn, we just return a UnwillingToPerform error
             // Cf RFC 4513, chap. 5.1.2
-            throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM, "Cannot Bind for Dn " +
-                bindDn.getName() );
+            throw new LdapUnwillingToPerformException( ResultCodeEnum.UNWILLING_TO_PERFORM, "Cannot Bind for Dn "
+                + bindDn.getName() );
         }
 
         PasswordPolicyException ppe = null;