Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support additional auth types #1090

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Jul 31, 2023

  1. feature(security): Support more principal types

    This updates `AuthenticatedRequest::getSpinnakerUser` to support more principal types besides `UserDetails` including `AuthenticatedPrincipal` (used by OAuth2 and SAML2 Spring Security libraries) and `Principal` (the generic Java API). Also adds some related utility code for granted authorities.
    jvz committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    ef68482 View commit details
    Browse the repository at this point in the history
  2. feature(web): Update AuthenticatedRequestFilter to support more princ…

    …ipals
    
    This updates the filter for a few related things:
    
    - Support more types of `Authentication` principals
    - Add `AllowedAccountAuthority` for simpler authority representation of allowed accounts
    - Use the `SecurityContextRepository` API from Spring Security instead of relying on internal details of its API
    - Normalize anonymous users into the userid `anonymous`
    - Add allowed account authorities to `User` authorities
    - Use the `ROLE_` granted authority prefix for roles as already used in Fiat
    jvz committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    0b730dc View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2023

  1. Configuration menu
    Copy the full SHA
    29fc5c7 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Configuration menu
    Copy the full SHA
    0ab0d30 View commit details
    Browse the repository at this point in the history