directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 56261 - incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/ibs
Date Mon, 01 Nov 2004 18:04:34 GMT
Author: akarasulu
Date: Mon Nov  1 10:04:34 2004
New Revision: 56261

Modified:
   incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
Log:
ooh we do not want to save the principal just the name

Modified: incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
==============================================================================
--- incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
(original)
+++ incubator/directory/eve/trunk/jndi-provider/src/java/org/apache/eve/jndi/ibs/OperationalAttributeService.java
Mon Nov  1 10:04:34 2004
@@ -128,7 +128,7 @@
 
         if ( invocation.getState() == InvocationStateEnum.PREINVOCATION )
         {
-            String principal = getPrincipal( invocation ).toString();
+            String principal = getPrincipal( invocation ).getName();
 
             BasicAttribute attribute = new BasicAttribute( "creatorsName" );
             attribute.add( principal );
@@ -150,7 +150,7 @@
         {
             Attributes attributes = new BasicAttributes();
             BasicAttribute attribute = new BasicAttribute( "modifiersName" );
-            attribute.add( getPrincipal( invocation ) );
+            attribute.add( getPrincipal( invocation ).getName() );
             attributes.put( attribute );
 
             attribute = new BasicAttribute( "modifyTimestamp" );
@@ -173,7 +173,7 @@
         {
             Attributes attributes = new BasicAttributes();
             BasicAttribute attribute = new BasicAttribute( "modifiersName" );
-            attribute.add( getPrincipal( invocation ) );
+            attribute.add( getPrincipal( invocation ).getName() );
             attributes.put( attribute );
 
             attribute = new BasicAttribute( "modifyTimestamp" );
@@ -194,7 +194,7 @@
         {
             Attributes attributes = new BasicAttributes();
             BasicAttribute attribute = new BasicAttribute( "modifiersName" );
-            attribute.add( getPrincipal( invocation ) );
+            attribute.add( getPrincipal( invocation ).getName() );
             attributes.put( attribute );
 
             attribute = new BasicAttribute( "modifyTimestamp" );
@@ -218,7 +218,7 @@
         {
             Attributes attributes = new BasicAttributes();
             BasicAttribute attribute = new BasicAttribute( "modifiersName" );
-            attribute.add( getPrincipal( invocation ) );
+            attribute.add( getPrincipal( invocation ).getName() );
             attributes.put( attribute );
 
             attribute = new BasicAttribute( "modifyTimestamp" );
@@ -240,7 +240,7 @@
         {
             Attributes attributes = new BasicAttributes();
             BasicAttribute attribute = new BasicAttribute( "modifiersName" );
-            attribute.add( getPrincipal( invocation ) );
+            attribute.add( getPrincipal( invocation ).getName() );
             attributes.put( attribute );
 
             attribute = new BasicAttribute( "modifyTimestamp" );

Mime
View raw message