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

Allow custom build of Flow ApplicationContext. #111

Closed
wants to merge 1 commit into from

Conversation

scantor
Copy link
Contributor

@scantor scantor commented Jul 14, 2022

This is the first (possibly only, may have a second) PR from the Shibboleth Project that we'd like to see added to the milestone for SWF 3 that will help us eliminate some local duplication we needed, and I was able to shrink it down to a pretty simple and I think attractive change.

This just exposes a protected method on FlowModelFlowBuilder that allows the ApplicationContext to be custom-build by subclassing that one method. The default implementation just calls the pre-existing private methods that were being used originally.

This should be "subclasser-beware", obviously, it's understood that if you create your own context without considering what SWF does for itself, you're risking breakage.

@rstoyanchev rstoyanchev self-assigned this Jul 14, 2022
@rstoyanchev rstoyanchev added this to the 3.0.0-M1 milestone Jul 14, 2022
rstoyanchev pushed a commit that referenced this pull request Jul 15, 2022
This allows a custom build of the Flow ApplicationContext.

See gh-111
@rstoyanchev rstoyanchev added this to the 3.0.0-M1 milestone Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants