Details
-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
3.1.0
-
None
-
None
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