use of org.keycloak.authorization.protection.policy.UserManagedPermissionService in project keycloak by keycloak.
the class ProtectionService method policy.
@Path("/uma-policy")
public Object policy() {
KeycloakIdentity identity = createIdentity(false);
UserManagedPermissionService resource = new UserManagedPermissionService(identity, getResourceServer(identity), this.authorization, createAdminEventBuilder(identity, getResourceServer(identity)));
ResteasyProviderFactory.getInstance().injectProperties(resource);
return resource;
}
Aggregations