Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

CDM session credential pass-through.

Abierto
#2,367 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
java, postgres

Línea de trabajo

Comienza con la página wiki de CDM Configuration y DataSourceDTOParser.java en la línea enlazada; después, sigue el proceso de selección de credenciales para las fuentes de datos de CDM. Confirma si se transmiten las credenciales de sesión o si se utilizan credenciales de una cuenta de servicio, y documenta claramente la respuesta y cualquier limitación para los usuarios.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Expected behavior

Not a bug - looking for clarification on the documentation and code.

Ideally, one might hope that the session credentials provided by the available identity providers (kerberos, openid, etc.) would be passed along to the CDM data sources to enforce access control at that layer. Furthermore, some users may infer that this level of security exists (possibly incorrectly) after going through the workflow they are familiar with for logging in to their identify provider / domain.

Actual behavior

As far as I can tell from reading the documents and the code, those tokens are only used (via the Shiro framework) to control access to the operational/postgres DB. Credentials for the CDM seem to be handled on a source by source basis, but generally the pattern seems to be using an application service account without passing through any session credentials.

To avoid confusion, it's clear that there are strong RBAC for webapi resources (in postgres/etc.) using the Shiro framework, and in a way this delegates the permissions of the CDM service account. This question is NOT about how session credential are passed from the client to the webapi. Instead, I am looking for clarification on which credentials are passed from the webapi to the CDM.

Question

Does the webapi make an effort to "pass-through" session credentials to the CDM data source in any way, or is the above description accurate?

For example, after going through an oauth flow, a user might expect that this is happening, but it is not clear if that is the case.

Lenguaje dominante
Java
Estrellas
153
Forks
186
Merge medio
2 d 12 h
PR fusionados (30 d)
13

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OHDSI/WebAPI

Todos los issues de OHDSI/WebAPI

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.