ContainerImage.Pinniped/internal/controller
Ryan Richard f6ded84f07 Implement upstream LDAP support in auth_handler.go
- When the upstream IDP is an LDAP IDP and the user's LDAP username and
  password are received as new custom headers, then authenticate the
  user and, if authentication was successful, return a redirect with
  an authcode. Handle errors according to the OAuth/OIDC specs.
- Still does not support having multiple upstream IDPs defined at the
  same time, which was an existing limitation of this endpoint.
- Does not yet include the actual LDAP authentication, which is
  hidden behind an interface from the point of view of auth_handler.go
- Move the oidctestutil package to the testutil directory.
- Add an interface for Fosite storage to avoid a cyclical test
  dependency.
- Add GetURL() to the UpstreamLDAPIdentityProviderI interface.
- Extract test helpers to be shared between callback_handler_test.go
  and auth_handler_test.go because the authcode and fosite storage
  assertions should be identical.
- Backfill Content-Type assertions in callback_handler_test.go.

Signed-off-by: Andrew Keesler <akeesler@vmware.com>
2021-04-08 17:28:01 -07:00
..
apicerts dynamiccert: split into serving cert and CA providers 2021-03-15 12:24:07 -04:00
authenticator All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
impersonatorconfig Fix lint error 2021-03-30 14:53:26 -07:00
issuerconfig Sort CredentialIssuer strategies in preferred order. 2021-03-03 14:03:27 -06:00
kubecertagent dynamiccert: split into serving cert and CA providers 2021-03-15 12:24:07 -04:00
supervisorconfig Implement upstream LDAP support in auth_handler.go 2021-04-08 17:28:01 -07:00
supervisorstorage All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
controller_test.go Clean this test up a trivial amount using require.Implementsf(). 2020-12-17 08:38:16 -06:00
utils.go Upstream Watcher Controller Syncs less often by adjusting its filters 2020-12-18 15:41:18 -08:00