Skip to content

Remove WebGoat session object #1929

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

Merged
merged 10 commits into from
Oct 26, 2024
Merged

Remove WebGoat session object #1929

merged 10 commits into from
Oct 26, 2024

Conversation

nbaars
Copy link
Collaborator

@nbaars nbaars commented Oct 26, 2024

No description provided.

Always been a bit of an ugly construction, as none of the dependencies are clear. The constructors are hidden due to autowiring the base class. This PR removes two of the fields.

As a bonus we now wire the authentication principal directly in the controllers.
No more need to get the current lesson set in a session. The lesson is now passed to the endpoints.
@nbaars nbaars force-pushed the nbaars/test-containers branch from 117dbbe to 499f54a Compare October 26, 2024 07:18
Since we have Windows specific paths let's run it standalone for now. We need to run these tests on Docker as well (for now disabled)
@nbaars nbaars force-pushed the nbaars/test-containers branch from df6b49c to ab22f6f Compare October 26, 2024 08:38
@nbaars nbaars changed the title Use Testcontainer for testing WebGoat Remove WebGoat session object Oct 26, 2024
@nbaars nbaars merged commit ab06890 into main Oct 26, 2024
5 checks passed
@nbaars nbaars deleted the nbaars/test-containers branch October 26, 2024 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant