Search in sources :

Example 1 with AddpermGrant

use of org.apache.directory.fortress.core.ant.AddpermGrant in project directory-fortress-core by apache.

the class FortressAntLoadTest method testPermissionRoles.

@Test
public void testPermissionRoles() {
    // gather permission to role grant input data:
    List<AddpermGrant> addpermGrants = fortressAntTask.getAddpermGrants();
    for (AddpermGrant addpermGrant : addpermGrants) {
        List<PermGrant> permGrants = addpermGrant.getPermGrants();
        permissionRoles("PRM-RLS", permGrants);
    }
}
Also used : PermGrant(org.apache.directory.fortress.core.model.PermGrant) AddpermGrant(org.apache.directory.fortress.core.ant.AddpermGrant) Test(org.junit.Test)

Aggregations

AddpermGrant (org.apache.directory.fortress.core.ant.AddpermGrant)1 PermGrant (org.apache.directory.fortress.core.model.PermGrant)1 Test (org.junit.Test)1