> For the complete documentation index, see [llms.txt](https://docs-jmapserver-lima.k2geospatial.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-jmapserver-lima.k2geospatial.com/e/administrator/jmap-server-administrator-manual/jmap-server/security.md).

# Security

Security management in JMap encompasses several aspects.

Identity management can be handled by JMap Server or delegated to another external system:

* **Directories such as LDAP or Microsoft Active Directory (AD)**\
  In these cases, JMap accesses existing users and groups in AD or LDAP to manage permissions within JMap. Entity management is performed directly in AD or LDAP.\
  Single Sign-On (SSO), supported for JMap Pro applications, can be enabled for AD. See the [Single Sign-On for JMap Pro](/e/administrator/jmap-server-administrator-manual/jmap-server/security/users-and-groups/single-sign-on-for-jmap-pro.md) section for more information.
* **Identity managers such as OpenID Connect or SAML2**\
  In these cases, JMap can retrieve the list of configured groups to manage permissions for different resources. Users are not initially available in JMap but are added as they are used. Single sign-on (SSO) for these protocols is supported for JMap Web and JMap NG applications.

See the [Managing Users](/e/administrator/jmap-server-administrator-manual/jmap-server/security/users-and-groups/user-managers.md) and [User and Groups](/e/administrator/jmap-server-administrator-manual/jmap-server/security/users-and-groups.md) sections for more information.&#x20;

Access management, or rather permission management, is applied to all the resources handled by JMap. This includes user access to JMap applications as well as the access permissions of JMap administrators. See the [Managing Permissions](/e/administrator/jmap-server-administrator-manual/jmap-server/security/managing-permissions.md) section for more information.

JMap allows you to easily use the HTTPS protocol for JMap Admin and for the various applications. See section [Using HTTPS with JMap](/e/administrator/jmap-server-administrator-manual/jmap-server/security/using-https-with-jmap.md) for more information.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-jmapserver-lima.k2geospatial.com/e/administrator/jmap-server-administrator-manual/jmap-server/security.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
