directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r586795 - in /directory/sandbox/djencks/triplesec-jacc2: admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java itest-data/src/main/resources/server.ldif
Date Sat, 20 Oct 2007 20:45:06 GMT
Author: djencks
Date: Sat Oct 20 13:45:05 2007
New Revision: 586795

URL: http://svn.apache.org/viewvc?rev=586795&view=rev
Log:
show multi-level roles work

Modified:
    directory/sandbox/djencks/triplesec-jacc2/admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java
    directory/sandbox/djencks/triplesec-jacc2/itest-data/src/main/resources/server.ldif

Modified: directory/sandbox/djencks/triplesec-jacc2/admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java
URL: http://svn.apache.org/viewvc/directory/sandbox/djencks/triplesec-jacc2/admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java?rev=586795&r1=586794&r2=586795&view=diff
==============================================================================
--- directory/sandbox/djencks/triplesec-jacc2/admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java
(original)
+++ directory/sandbox/djencks/triplesec-jacc2/admin-api2/src/test/java/org/apache/directory/triplesec/admin/IntegrationTest.java
Sat Oct 20 13:45:05 2007
@@ -270,7 +270,7 @@
     {
         Application app = entityManager.find( Application.class, null, "appName=mockContext,appName=mockApplication,ou=applications"
);
 
-        assertEquals( 11, app.getRoles().size() );
+        assertEquals( 10, app.getRoles().size() );
         // create a new role after changing modifier's description and grants
         Role role = new Role( "testRole", "testRole", "test role" );
         role.addGrant( app.getPermission( "mockPerm0" ) );

Modified: directory/sandbox/djencks/triplesec-jacc2/itest-data/src/main/resources/server.ldif
URL: http://svn.apache.org/viewvc/directory/sandbox/djencks/triplesec-jacc2/itest-data/src/main/resources/server.ldif?rev=586795&r1=586794&r2=586795&view=diff
==============================================================================
--- directory/sandbox/djencks/triplesec-jacc2/itest-data/src/main/resources/server.ldif (original)
+++ directory/sandbox/djencks/triplesec-jacc2/itest-data/src/main/resources/server.ldif Sat
Oct 20 13:45:05 2007
@@ -557,7 +557,7 @@
 roleName: mockRolerg(rg12)rd(pg1)
 roleId: mockRolerg(rg12)rd(pg1)
 
-dn: roleName=mockRolerg1(rg(rg12)rd(pg1)),ou=roles,appName=mockContext,appName=mockApplication,ou=applications,dc=example,dc=com
+dn: roleName=mockRolerg1(rg(rg12)rd(pg1)),ou=roles,appName=mockApplication,ou=applications,dc=example,dc=com
 changetype: add
 objectClass: top
 objectClass: policyRole



Mime
View raw message