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