> For the complete documentation index, see [llms.txt](https://ajuda.rnp.br/cafe/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ajuda.rnp.br/cafe/idp-cafe/informacoes-tecnicas.md).

# Informações técnicas

Esta página reúne as informações técnicas do Provedor de Identidade (IdP) da Federação CAFe (Comunidade Acadêmica Federada), fornecido pela RNP às instituições participantes.

{% hint style="info" %}
Os valores abaixo correspondem à **versão de referência** da solução, atualizada em **24/10/2026**. Instituições que atualizaram componentes por conta própria podem apresentar versões diferentes das listadas.
{% endhint %}

## Visão geral

O IdP CAFe é baseado no **Shibboleth Identity Provider**, software open source mantido pelo Shibboleth Consortium. Ele atua como provedor de identidade da instituição na Federação CAFe, com interoperabilidade com a eduGAIN.

* **Protocolo:** SAML 2.0 (com suporte legado a SAML 1.1 e Shibboleth 1.0 nos metadados).
* **Autenticação multifator (MFA):** senha temporária (TOTP), códigos de emergência e chaves de acesso (passkeys/WebAuthn), gerenciados pelo Painel de Segurança MFA.
* **Metadados:** os metadados da federação CAFe são consumidos automaticamente pelo IdP.

## Componentes e versões

| Componente                           | Versão de referência | Função                              |
| ------------------------------------ | -------------------- | ----------------------------------- |
| Sistema operacional                  | Ubuntu Server        | Sistema base                        |
| Shibboleth Identity Provider         | 5                    | Provedor de identidade (SAML 2.0)   |
| Linguagem / runtime                  | Java                 | Execução do IdP e do Painel MFA     |
| Servidor de aplicação                | Eclipse Jetty        | Hospeda o IdP                       |
| Proxy reverso / TLS                  | Apache HTTP Server   | Terminação TLS e encaminhamento     |
| Banco de dados                       | PostgreSQL           | Armazenamento do Painel MFA         |
| Painel de Segurança MFA              | Java                 | Gestão dos fatores de autenticação  |
| Plugin TOTP                          | 2                    | Senha temporária (OTP)              |
| Plugin WebAuthn                      | 1                    | Chaves de acesso (passkeys)         |
| Plugin Nashorn                       | 2                    | Suporte a scripts no IdP            |
| Registro de logs                     | rsyslog; Filebeat    | Coleta de registros F-TICKS         |
| Proteção contra tentativas de acesso | Fail2ban             | Bloqueio por falhas de autenticação |
| Sincronismo de hora                  | NTPsec               | Sincronização de relógio            |

## Linguagem de programação

O Shibboleth IdP, o Jetty e o Painel de Segurança MFA são aplicações **Java**.

## Banco de dados

O IdP, por si só, não depende de banco de dados. O **PostgreSQL** é utilizado pelo Painel de Segurança MFA e é instalado no mesmo servidor.

## Diretório de usuários

A autenticação e a obtenção de atributos são feitas no diretório da própria instituição, que pode ser:

* OpenLDAP
* Active Directory
* 389 Directory Server / FreeIPA

O diretório é de responsabilidade da instituição e não faz parte da instalação do IdP.

## Atributos

O IdP libera atributos aos provedores de serviço conforme as políticas da federação, incluindo os esquemas `eduPerson`, `brEduPerson` e `schac`, além do identificador imutável (`ImmutableID`).

## Documentação de referência

* Documentação do Shibboleth IdP 5: <https://shibboleth.atlassian.net/wiki/spaces/IDP5/overview>

## Contato

Em caso de dúvidas ou necessidade de informações adicionais, entre em contato com a equipe CAFe da RNP (<atendimento@rnp.br>).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://ajuda.rnp.br/cafe/idp-cafe/informacoes-tecnicas.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
