use of org.forgerock.openam.rest.service.ResourceApiVersionRestlet in project OpenAM by OpenRock.
the class XacmlRouterProvider method get.
@Override
public Router get() {
RestletRealmRouter router = new RestletRealmRouter(realmValidator, coreWrapper);
ResourceApiVersionRestlet policiesVersionRouter = new ResourceApiVersionRestlet(versionBehaviourManager);
policiesVersionRouter.attach(version(1), wrap(XacmlService.class));
router.attach("/policies", policiesVersionRouter);
invalidRealmNames.add("policies");
return router;
}
Aggregations