use of org.dcache.namespace.ACLPermissionHandler in project dcache by dCache.
the class ACLPermissionHandlerSecondTest method setUpClass.
@BeforeClass
public static void setUpClass() throws Exception {
pdp = new ACLPermissionHandler();
origin = new Origin("127.0.0.1");
Principal user = new UidPrincipal(UID);
Principal group = new GidPrincipal(GID, true);
subject = new Subject();
subject.getPrincipals().add(user);
subject.getPrincipals().add(group);
subject.getPrincipals().add(origin);
}
Aggregations