You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ka...@apache.org on 2013/05/30 17:15:50 UTC

svn commit: r1487893 - /directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java

Author: kayyagari
Date: Thu May 30 15:15:50 2013
New Revision: 1487893

URL: http://svn.apache.org/r1487893
Log:
log the attribute name

Modified:
    directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java

Modified: directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java?rev=1487893&r1=1487892&r2=1487893&view=diff
==============================================================================
--- directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java (original)
+++ directory/apacheds/trunk/interceptors/operational/src/main/java/org/apache/directory/server/core/operational/OperationalAttributeInterceptor.java Thu May 30 15:15:50 2013
@@ -317,7 +317,7 @@ public class OperationalAttributeInterce
             {
                 if ( !isAdmin )
                 {
-                    String message = I18n.err( I18n.ERR_32 );
+                    String message = I18n.err( I18n.ERR_30, attributeType );
                     LOG.error( message );
                     throw new LdapNoPermissionException( message );
                 }
@@ -331,7 +331,7 @@ public class OperationalAttributeInterce
             {
                 if ( !isAdmin )
                 {
-                    String message = I18n.err( I18n.ERR_32 );
+                    String message = I18n.err( I18n.ERR_30, attributeType );
                     LOG.error( message );
                     throw new LdapNoPermissionException( message );
                 }
@@ -343,7 +343,7 @@ public class OperationalAttributeInterce
 
             if ( PWD_POLICY_STATE_ATTRIBUTE_TYPES.contains( attributeType ) && !isAdmin )
             {
-                String message = I18n.err( I18n.ERR_32 );
+                String message = I18n.err( I18n.ERR_30, attributeType );
                 LOG.error( message );
                 throw new LdapNoPermissionException( message );
             }