Uploaded image for project: 'Single Sign On'
  1. Single Sign On
  2. MGNLSSO-244

Make CustomAthorizationGenerator configurable (custom properties)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Neutral
    • None
    • 3.1.0
    • None
    • None
    • 8

    Description

      For including custom properties at a custom AuthorizationGenerator (as we have for groups or fixedRoles) you have to override the Pac4jProvider class which also dependes on lots of other classes (SSoConfig, SSoMpConfig, SSoLoginFilter...). Would be nice to find a way to just by yaml be able to load custom properties, e.g:

      config.yaml
      authorizationGenerators:
        - name: customAuthorizationGeneratorProvider
          myProperties:
            mappings:
              - name: customName
                targetProperties:
                  - property1
                  - property2
      

      Which are mapped at the Generator so you can use them.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Work Started:

                Checklists

                  Task DoD