Skip to main content
Solved

Centreon MAP 23.10

  • May 22, 2024
  • 2 replies
  • 105 views

Forum|alt.badge.img+3

Hi,

 

Can someone explain to me what the role of these 2 parameters is in /etc/centreon-map/centreon-map.conf

 

-Dcentreon-map.signing-key=xxxxxxxxxxxxxxxxxxxxxx

-Dcentreon-map.access-token-validity-seconds=xxxxxxxxxxxx

 

centreon  map installed in didecated server.

 

Thanks

 

Best answer by etran

Hi @rachidkh

 

Map Server is stateless for login user management. The user's session is not stored on the server side. We use JWT (Json Web Token) for user’s privileges management.

The JWT contains signed information about the user's privileges and other information. Each http request contains the token as a header to obtain access.

 

So the first parameter corresponds to the value of the JWT and the second one to the lifetime of this JWT.

2 replies

Forum|alt.badge.img+1
  • Centreonian
  • 1 reply
  • Answer
  • May 22, 2024

Hi @rachidkh

 

Map Server is stateless for login user management. The user's session is not stored on the server side. We use JWT (Json Web Token) for user’s privileges management.

The JWT contains signed information about the user's privileges and other information. Each http request contains the token as a header to obtain access.

 

So the first parameter corresponds to the value of the JWT and the second one to the lifetime of this JWT.


Forum|alt.badge.img+3
  • Author
  • Steward **
  • 10 replies
  • May 28, 2024

Hi etran

 

Thanks for the explanation