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

add a security module (#628) #629

Merged
merged 6 commits into from
Sep 25, 2018
Merged

add a security module (#628) #629

merged 6 commits into from
Sep 25, 2018

Conversation

lfzm
Copy link
Contributor

@lfzm lfzm commented Sep 21, 2018

Closes #628

Add security mechanisms, IP whitelists, blacklists, and extended security interfaces.
Extend security by implementing ISecurityPolicy

@TomPallister Evaluation is feasible, feasible, I add unit test

Copy link
Member

@TomPallister TomPallister left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a really good PR, thank you for this! :)

In order to merge this the code needs to build and can you add unit tests for the new functionality plus acceptance tests to prove it works overall? I think we can have one that allows the IP and one that doesnt.

src/Ocelot/Configuration/File/FileSecurityOptions.cs Outdated Show resolved Hide resolved
src/Ocelot/Configuration/File/FileSecurityOptions.cs Outdated Show resolved Hide resolved
src/Ocelot/Configuration/SecurityOptions.cs Outdated Show resolved Hide resolved
src/Ocelot/Configuration/SecurityOptions.cs Outdated Show resolved Hide resolved
src/Ocelot/Security/IPSecurity/IPSecurityPolicy.cs Outdated Show resolved Hide resolved
@lfzm
Copy link
Contributor Author

lfzm commented Sep 21, 2018

Security protection extension for Ocelot AuthorizationToken

Ocelot.Security.AuthorizationToken.EntityFramework

@TomPallister
Copy link
Member

Security protection extension for Ocelot AuthorizationToken

Ocelot.Security.AuthorizationToken.EntityFramework

very cool :D

@TomPallister TomPallister merged commit 4a8f4c2 into ThreeMammals:develop Sep 25, 2018
@TomPallister
Copy link
Member

@aqa510415008 thank you for the tests, this is very good. I have merged it now.

1 similar comment
@TomPallister
Copy link
Member

@aqa510415008 thank you for the tests, this is very good. I have merged it now.

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.

Is it possible to add a security module
2 participants