Skip to content

Create session cookie so headers are only needed on login page #6

@mauritsvanrees

Description

@mauritsvanrees

Currently the headers are needed on every page. When the headers are gone, you are no longer logged in. It would be useful if you stay logged in. Then a frontend server (nginx, Apache) only needs to check for example SAML or CAS only for one, or a few, pages.

So:

  1. Implement enumerateUsers (this will either return one user or none, depending on the headers).
  2. Call updateCredentials. I think we would call this from authenticateCredentials.

Ah, or we would just call _setupSession from plone.session directly.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions