directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r498851 - in /directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor: ApplicationAciManager.java PolicyProtectionInterceptor.java
Date Mon, 22 Jan 2007 23:36:07 GMT
Author: akarasulu
Date: Mon Jan 22 15:36:06 2007
New Revision: 498851

URL: http://svn.apache.org/viewvc?view=rev&rev=498851
Log:
some changes due to using ModificationItemImpl

Modified:
    directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/ApplicationAciManager.java
    directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/PolicyProtectionInterceptor.java

Modified: directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/ApplicationAciManager.java
URL: http://svn.apache.org/viewvc/directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/ApplicationAciManager.java?view=diff&rev=498851&r1=498850&r2=498851
==============================================================================
--- directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/ApplicationAciManager.java
(original)
+++ directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/ApplicationAciManager.java
Mon Jan 22 15:36:06 2007
@@ -21,7 +21,7 @@
 
 
 import org.apache.directory.shared.ldap.message.LockableAttributeImpl;
-import org.apache.directory.shared.ldap.message.LockableAttributesImpl;
+import org.apache.directory.shared.ldap.message.AttributesImpl;
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.schema.AttributeType;
 import org.apache.directory.shared.ldap.util.AttributeUtils;
@@ -204,7 +204,7 @@
         groupDn.normalize( registry.getNormalizerMapping() );
 
         // create the admin group entry
-        Attributes group = new LockableAttributesImpl();
+        Attributes group = new AttributesImpl();
         group.put( "objectClass", "top" );
         group.get( "objectClass" ).add( "groupOfUniqueNames" );
         group.put( cnAttr );
@@ -228,7 +228,7 @@
             return;
         }
 
-        Attributes groups = new LockableAttributesImpl();
+        Attributes groups = new AttributesImpl();
         groups.put( "objectClass", "top" );
         groups.get( "objectClass" ).add( "organizationalUnit" );
         groups.put( "ou", "Groups" );
@@ -303,7 +303,7 @@
 
         // calculate subentry attributes with both app user ACI and 
         // app admin group ACI in same subentry
-        Attributes subentry = new LockableAttributesImpl();
+        Attributes subentry = new AttributesImpl();
         subentry.put( "objectClass", "top" );
         subentry.get( "objectClass" ).add( "subentry" );
         subentry.get( "objectClass" ).add( "accessControlSubentry" );
@@ -361,7 +361,7 @@
             }
         }
 
-        Attributes mods = new LockableAttributesImpl();
+        Attributes mods = new AttributesImpl();
         mods.put( "administrativeRole", "accessControlSpecificArea" );
         proxy.modify( apDn, DirContext.ADD_ATTRIBUTE, mods );
         acsaLut.add( apDn.getNormName() );

Modified: directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/PolicyProtectionInterceptor.java
URL: http://svn.apache.org/viewvc/directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/PolicyProtectionInterceptor.java?view=diff&rev=498851&r1=498850&r2=498851
==============================================================================
--- directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/PolicyProtectionInterceptor.java
(original)
+++ directory/triplesec/trunk/store/src/main/java/org/safehaus/triplesec/store/interceptor/PolicyProtectionInterceptor.java
Mon Jan 22 15:36:06 2007
@@ -32,6 +32,7 @@
 import org.apache.directory.shared.ldap.filter.FilterParserImpl;
 import org.apache.directory.shared.ldap.util.NamespaceTools;
 import org.apache.directory.shared.ldap.name.LdapDN;
+import org.apache.directory.shared.ldap.message.ModificationItemImpl;
 import org.apache.directory.server.core.configuration.InterceptorConfiguration;
 import org.apache.directory.server.core.interceptor.BaseInterceptor;
 import org.apache.directory.server.core.interceptor.Interceptor;
@@ -202,7 +203,7 @@
     }
 
     
-    public void modify( NextInterceptor next, LdapDN name, ModificationItem[] modItems )
throws NamingException
+    public void modify( NextInterceptor next, LdapDN name, ModificationItemImpl[] modItems
) throws NamingException
     {
         LdapDN baseName = getBaseName( next, name );
         if( baseName == null )



Mime
View raw message