{"id":24093271,"url":"https://github.com/umd-lib/hippo-permissions-servlet","last_synced_at":"2026-06-12T19:32:42.350Z","repository":{"id":147002798,"uuid":"64790042","full_name":"umd-lib/hippo-permissions-servlet","owner":"umd-lib","description":"A simple servlet for use with the CMS for displaying Hippo/JCR permissions on JCR nodes.","archived":false,"fork":false,"pushed_at":"2020-08-25T17:59:53.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":16,"default_branch":"develop","last_synced_at":"2025-02-27T12:42:04.991Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umd-lib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-02T20:23:19.000Z","updated_at":"2019-05-24T03:05:22.000Z","dependencies_parsed_at":"2023-04-04T20:06:05.750Z","dependency_job_id":null,"html_url":"https://github.com/umd-lib/hippo-permissions-servlet","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/umd-lib/hippo-permissions-servlet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fhippo-permissions-servlet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fhippo-permissions-servlet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fhippo-permissions-servlet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fhippo-permissions-servlet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umd-lib","download_url":"https://codeload.github.com/umd-lib/hippo-permissions-servlet/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umd-lib%2Fhippo-permissions-servlet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34260309,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-10T09:26:57.345Z","updated_at":"2026-06-12T19:32:42.333Z","avatar_url":"https://github.com/umd-lib.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hippo-permissions-servlet\n\nA simple servlet for use with the CMS for displaying Hippo/JCR permissions on JCR nodes.\n\n## Introduction\n\nThis servlet can be used within the Hippo CMS to display the permissions a given Hippo user has on a particular JCR node.\n\nThis servlet was derived from Hippo's servlets/src/main/java/org/hippoecm/repository/RepositoryServlet.java code, and extensively modified. Like the Repository Servlet, it uses HTTP Basic Authentication for gaining access to the servlet.\n\n## Sample Screenshot\n\n![sample screenshot](docs/screenshot1.png)\n\nThe above screenshot shows the results of fetching the permissions to the root node of the JCR repository (\"/\") for the \"author\" user.\n\nAs can be seen in the screenshot, after logging in, the servlet provides a very simple interface consisting of \"User id\" and \"JCR Path\" fields. \n\n| Field    | Description                                             |\n| -------- | ------------------------------------------------------- |\n| User id  | The Hippo user id to return the permission for          |\n| JCR Path | The JCR path to the node to retrieve the permissions of |\n\nThe \"Fetch\" button causes the permissions for the given fields to be queried and returned in the table.\n\nThe permissions table consists of the individual permissions (\"jcr:read\", \"jcr:write\", \"hippo:author\", etc.) for the node. See the following documention for additional information about the permissions:\n\n* [https://www.onehippo.org/library/concepts/security/repository-authorization-and-permissions.html]()\n* [https://docs.adobe.com/content/docs/en/spec/jcr/2.0/16_Access_Control_Management.html]()\n\nA value of \"true\" indicates the user has the permission, \"false\" indicates that the user does not.\n\n## Integration with Hippo\n\nThe Permissions servlet has been designed to work with Hippo v7.9.12. It may work with other versions, but this has not been tested.\n\nThe servlet is intended to work with the Hippo CMS. It consists of a single jar file (hippo-permissions-servlet-[VERSION].jar), which can be added to the classpath of the web container in which the CMS runs. The following stanzas should be added to the web.xml file:\n\n```\n  \u003cservlet\u003e\n    \u003cservlet-name\u003ePermissonsServlet\u003c/servlet-name\u003e\n    \u003cservlet-class\u003eedu.umd.lib.servlets.permissions.PermissionsServlet\u003c/servlet-class\u003e\n    \u003cload-on-startup\u003e6\u003c/load-on-startup\u003e\n  \u003c/servlet\u003e\n  \n  \u003cservlet-mapping\u003e\n    \u003cservlet-name\u003ePermissonsServlet\u003c/servlet-name\u003e\n    \u003curl-pattern\u003e/permissions/*\u003c/url-pattern\u003e\n  \u003c/servlet-mapping\u003e\n  \n```\nOnce properly configured, the servlet should be accessible at [CMS URL]/permissions. For example, in a local development environment, the URL will likely be http://localhost:8080/cms/permissions.\n\n## Integration with a Hippo Build\n\nThe Permissions servlet jar file is available from a Nexus repository maintained by the University of Maryland, College Park Library. To access the repository, add the following to your pom.xml file:\n\n```\n  \u003cdistributionManagement\u003e\n    \u003crepository\u003e\n      \u003cid\u003enexus\u003c/id\u003e\n      \u003cname\u003eReleases\u003c/name\u003e\n      \u003curl\u003ehttps://maven.lib.umd.edu/nexus/content/repositories/releases\u003c/url\u003e\n    \u003c/repository\u003e\n    \u003csnapshotRepository\u003e\n      \u003cid\u003enexus\u003c/id\u003e\n      \u003cname\u003eSnapshots\u003c/name\u003e\n      \u003curl\u003ehttps://maven.lib.umd.edu/nexus/content/repositories/snapshots\u003c/url\u003e\n    \u003c/snapshotRepository\u003e\n  \u003c/distributionManagement\u003e\n```\n\nThe dependency for the servlet is:\n\n```\n    \u003cdependency\u003e\n      \u003cgroupId\u003eedu.umd.lib.servlets\u003c/groupId\u003e\n      \u003cartifactId\u003epermissions-servlet\u003c/artifactId\u003e\n      \u003cversion\u003e[VERSION]\u003c/version\u003e\n    \u003c/dependency\u003e\n```\nwhere [VERSION] is the version number of the servlet to download.\n\n## License\n\nThe Permissions servlet was created by copying and rewriting the Repository servlet available from Hippo. As such is is available under the Apache License v2.0. See [LICENSE]() for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fhippo-permissions-servlet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumd-lib%2Fhippo-permissions-servlet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumd-lib%2Fhippo-permissions-servlet/lists"}